diff options
author | Simon Warta <[email protected]> | 2015-06-19 13:11:49 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-19 13:11:49 +0200 |
commit | 6750b13cc04e4a6a2f1aad364f74d0042d1da766 (patch) | |
tree | e4f4ee0dfe1787867218c1d8c334a2382318e057 /src/tests/test_keywrap.cpp | |
parent | b9c03ac33472b00a3eeb8bc00b7f37ef610a4eac (diff) |
Replace \n by std::endl in tests to ensure proper flushing
- Remove additional newlines in CHECK_MESSAGE call
- Remove redundant output of algo in aead_test()
Closes #115
Diffstat (limited to 'src/tests/test_keywrap.cpp')
-rw-r--r-- | src/tests/test_keywrap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_keywrap.cpp b/src/tests/test_keywrap.cpp index ffe9b52bb..16a165668 100644 --- a/src/tests/test_keywrap.cpp +++ b/src/tests/test_keywrap.cpp @@ -36,7 +36,7 @@ size_t keywrap_test(const char* key_str, if(enc != expected.bits_of()) { std::cout << "NIST key wrap encryption failure: " - << hex_encode(enc) << " != " << hex_encode(expected.bits_of()) << "\n"; + << hex_encode(enc) << " != " << hex_encode(expected.bits_of()) << std::endl; fail++; } @@ -45,13 +45,13 @@ size_t keywrap_test(const char* key_str, if(dec != key.bits_of()) { std::cout << "NIST key wrap decryption failure: " - << hex_encode(dec) << " != " << hex_encode(key.bits_of()) << "\n"; + << hex_encode(dec) << " != " << hex_encode(key.bits_of()) << std::endl; fail++; } } catch(std::exception& e) { - std::cout << e.what() << "\n"; + std::cout << e.what() << std::endl; fail++; } #endif |