diff options
author | Jack Lloyd <[email protected]> | 2018-04-09 13:06:56 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-04-09 18:48:46 -0400 |
commit | 6cfe771a5ced6c87eda98bfdfcd0811490d45baa (patch) | |
tree | e02481416011bdb63398698da4da0c73324d764c /src/tests/unit_tls.cpp | |
parent | 3aa5aabc3c134a50c90dad87caccee7d2532088e (diff) |
Fix bug that broke session decryption (and thus resumption)
Introduced in 3657639ab. Add a test that would have caught this
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 57d436ff4..a26c6e9f7 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -704,6 +704,12 @@ class TLS_Unit_Tests final : public Test version, creds, policy, policy, rng, client_ses, server_ses, client_auth); test.go(); results.push_back(test.results()); + + TLS_Handshake_Test test_resumption( + version.to_string() + " " + test_descr, + version, creds, policy, policy, rng, client_ses, server_ses, client_auth); + test_resumption.go(); + results.push_back(test_resumption.results()); } } catch(std::exception& e) |