diff options
Diffstat (limited to 'src/tests/test_rfc6979.cpp')
-rw-r--r-- | src/tests/test_rfc6979.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_rfc6979.cpp b/src/tests/test_rfc6979.cpp index 1b8e91377..8076ae70d 100644 --- a/src/tests/test_rfc6979.cpp +++ b/src/tests/test_rfc6979.cpp @@ -47,8 +47,8 @@ class RFC6979_KAT_Tests : public Text_Based_Test Botan::RFC6979_Nonce_Generator gen(hash, Q, X); result.test_eq("vector matches", gen.nonce_for(H), K); - result.test_ne("vector matches", gen.nonce_for(H+1), K); - result.test_eq("vector matches", gen.nonce_for(H), K); + result.test_ne("different output for H+1", gen.nonce_for(H+1), K); + result.test_eq("vector matches when run again", gen.nonce_for(H), K); return result; } |