diff options
author | Jack Lloyd <[email protected]> | 2016-10-27 12:35:13 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-27 12:35:13 -0400 |
commit | 27133c6689d6910a34436a91d934a93836dddaeb (patch) | |
tree | d5b7b3ab728f3624ed8dc6a4e4644a31fe5d3a8e /src/tests/unit_tls.cpp | |
parent | 8c96d4d64f469bf710b7c6f599d0c53291e23631 (diff) |
Test MtE then EtM CBC modes
Otherwise we may end up trying to renegotiate EtM to MtE which is
an error. Only occured sporadically due to low timeout set on session
cache; only if we retried really quickly did it fail.
Feels kind of hacky, but disabling EtM is a corner case anyway.
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 02848c83d..080422cab 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -935,7 +935,7 @@ class TLS_Unit_Tests : public Test std::vector<Test::Result> results; #if defined(BOTAN_HAS_TLS_CBC) - for(std::string etm_setting : { "true", "false" }) + for(std::string etm_setting : { "false", "true" }) { test_all_versions(results, *client_ses, *server_ses, *creds, "RSA", "AES-128", "SHA-256 SHA-1", etm_setting); test_all_versions(results, *client_ses, *server_ses, *creds, "ECDH", "AES-128", "SHA-256 SHA-1", etm_setting); |