diff options
author | Jack Lloyd <[email protected]> | 2016-10-07 15:50:48 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-07 15:50:48 -0400 |
commit | 36220cebaae551f3e7c22e2abd8a8ce848e56892 (patch) | |
tree | 3b9aca25bf2437b7cde4f4df7e3bb876a139c264 /src/tests/unit_tls.cpp | |
parent | b2209d7ebe29bfe2ab5d25eb2be7c51d42ea2a46 (diff) | |
parent | c2d88a0c4e0d2b6aa461cf7c415eea23ff3994c2 (diff) |
Merge GH #645 TLS compressed points
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index de54c9747..5ae24ba81 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -868,6 +868,18 @@ class TLS_Unit_Tests : public Test results.push_back(test_tls_handshake(Botan::TLS::Protocol_Version::TLS_V12, *basic_creds, policy, server_policy)); results.push_back(test_dtls_handshake(Botan::TLS::Protocol_Version::DTLS_V12, *basic_creds, policy, server_policy)); + policy.set("use_ecc_point_compression", "true"); + policy.set("key_exchange_methods", "ECDH"); + policy.set("ciphers", "AES-128"); + results.push_back(test_tls_handshake(Botan::TLS::Protocol_Version::TLS_V12, *basic_creds, policy)); + results.push_back(test_dtls_handshake(Botan::TLS::Protocol_Version::DTLS_V12, *basic_creds, policy)); + + server_policy.set("use_ecc_point_compression", "true"); + server_policy.set("key_exchange_methods", "ECDH"); + server_policy.set("ciphers", "AES-128"); + results.push_back(test_tls_handshake(Botan::TLS::Protocol_Version::TLS_V12, *basic_creds, policy, server_policy)); + results.push_back(test_dtls_handshake(Botan::TLS::Protocol_Version::DTLS_V12, *basic_creds, policy, server_policy)); + return results; } |