diff options
author | Simon Warta <[email protected]> | 2015-06-29 14:40:54 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-29 14:40:54 +0200 |
commit | f4f35f07545037b792ed4c580157e8cbf8ded15f (patch) | |
tree | c363f62cc32997212e7d3334c7bd202bcfde981d /src/tests | |
parent | 6317d6fb6d8bc79f1c9f0453d4122ed80603a9f8 (diff) |
Let TLS unittests fail on exception
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/unit_tls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 11ec049d5..edc5e913d 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -237,7 +237,7 @@ size_t basic_test_handshake(RandomNumberGenerator& rng, catch(std::exception& e) { std::cout << "Server error - " << e.what() << std::endl; - break; + return 1; } input.clear(); @@ -250,7 +250,7 @@ size_t basic_test_handshake(RandomNumberGenerator& rng, catch(std::exception& e) { std::cout << "Client error - " << e.what() << std::endl; - break; + return 1; } if(c2s_data.size()) |