diff options
author | Jack Lloyd <[email protected]> | 2015-11-13 12:52:20 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-11-13 12:52:20 -0500 |
commit | 406c57f09eac849c10807b74c8e7ba051a6a5c2c (patch) | |
tree | fcb26fab346948c2647ff7db4144bb9d5ed07295 /src/tests/tests.cpp | |
parent | 3dbcfb6297acfdb8818742acfb0fa9ffe70bcdbc (diff) |
Add TLS_PSK tests
Fix a bug which rejected any short server key exchanges. These can
occur with a plain PSK with short or empty identity hints.
Disable SHA-224 by default.
Remove some vestigal RC4 cruft.
Push more on the TLS corruption tests.
Diffstat (limited to 'src/tests/tests.cpp')
-rw-r--r-- | src/tests/tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp index 55c9e3824..294ef303b 100644 --- a/src/tests/tests.cpp +++ b/src/tests/tests.cpp @@ -163,8 +163,8 @@ bool Test::Result::test_eq(const char* producer, const char* what, bits_different += Botan::hamming_weight(xor_diff[i]); } - err << "Produced: " << Botan::hex_encode(produced, produced_size) << "\n" - << "Expected: " << Botan::hex_encode(expected, expected_size); + err << "\nProduced: " << Botan::hex_encode(produced, produced_size) + << "\nExpected: " << Botan::hex_encode(expected, expected_size); if(bits_different > 0) { |