aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_tls.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-09 13:06:56 -0400
committerJack Lloyd <[email protected]>2018-04-09 18:48:46 -0400
commit6cfe771a5ced6c87eda98bfdfcd0811490d45baa (patch)
treee02481416011bdb63398698da4da0c73324d764c /src/tests/unit_tls.cpp
parent3aa5aabc3c134a50c90dad87caccee7d2532088e (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.cpp6
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)