diff options
author | lloyd <[email protected]> | 2012-07-09 16:43:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-09 16:43:21 +0000 |
commit | a73ace1185febb9a9dfa9e6ba93c883beedbd938 (patch) | |
tree | 73170167ab016e9af2346921aa9da2afd5ed25b2 /src/kdf | |
parent | 4e43080954be57e362feb1cc8202bfd42117e286 (diff) |
The messages for assertion checks were done both ways, both "assertion
X is true" and "assertion X is false". Convert all of them to the form
"assertion X is true" thus making it clear what it is that we are
attempting to assert by testing the expression provided.
Diffstat (limited to 'src/kdf')
-rw-r--r-- | src/kdf/prf_ssl3/prf_ssl3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kdf/prf_ssl3/prf_ssl3.cpp b/src/kdf/prf_ssl3/prf_ssl3.cpp index 8475bf40a..984bd1176 100644 --- a/src/kdf/prf_ssl3/prf_ssl3.cpp +++ b/src/kdf/prf_ssl3/prf_ssl3.cpp @@ -25,7 +25,8 @@ OctetString next_hash(size_t where, size_t want, const byte secret[], size_t secret_len, const byte seed[], size_t seed_len) { - BOTAN_ASSERT(want <= md5.output_length(), "Desired output too large"); + BOTAN_ASSERT(want <= md5.output_length(), + "Output size producable by MD5"); const byte ASCII_A_CHAR = 0x41; |