diff options
author | René Korthaus <[email protected]> | 2016-09-28 13:06:36 +0200 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-10-03 12:18:24 +0200 |
commit | f38841305ecd3fd0d13285823497a5a9d3b5c19f (patch) | |
tree | d01a3263baa7df488cf58fc997d1c9710dbfb0a4 /src/tests | |
parent | ab2842d6f28680b1cac18d5ff6b70b395d1ffb65 (diff) |
Support encoding of supported point formats extension
Diffstat (limited to 'src/tests')
-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; } |