diff options
author | René Korthaus <[email protected]> | 2017-02-06 16:21:07 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2017-02-06 16:21:07 +0100 |
commit | 38466c44d0034d82f3d1e03bef1f27cf311df559 (patch) | |
tree | 7455c1057387ebc68e970978757221e98ef5c186 /src/tests/unit_tls.cpp | |
parent | 5f622fd4a07648d2c84b21e43b7ee74f98328475 (diff) |
Use SHA-384 with DHE_DSS_AES_256_CBC
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 9cc1fb0e5..284231c69 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -9,6 +9,8 @@ // Deprecated TLS APIs are tested below #define BOTAN_NO_DEPRECATED_WARNINGS +#include <iostream> + #include "tests.h" #include <vector> #include <memory> @@ -305,6 +307,8 @@ Test::Result test_tls_handshake(Botan::TLS::Protocol_Version offer_version, result.test_note(session_report); + std::cout << session_report << std::endl; + if(session.version() != offer_version) { result.test_failure("Offered " + offer_version.to_string() + @@ -1188,7 +1192,7 @@ class TLS_Unit_Tests : public Test #if defined(BOTAN_HAS_DSA) test_modern_versions(results, *client_ses, *server_ses, *creds, "DH", "AES-128", "SHA-256 SHA-384", { { "signature_methods", "DSA" } }); - test_modern_versions(results, *client_ses, *server_ses, *creds, "DH", "AES-256", "SHA-256 SHA-384", + test_modern_versions(results, *client_ses, *server_ses, *creds, "DH", "AES-256", "SHA-384", { { "signature_methods", "DSA" } }); #endif |