diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kdf/ssl_prf/prf_ssl3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf/ssl_prf/prf_ssl3.cpp b/src/kdf/ssl_prf/prf_ssl3.cpp index 4f7325bde..72cf023e2 100644 --- a/src/kdf/ssl_prf/prf_ssl3.cpp +++ b/src/kdf/ssl_prf/prf_ssl3.cpp @@ -30,7 +30,7 @@ OctetString next_hash(size_t where, size_t want, const byte ASCII_A_CHAR = 0x41; for(size_t j = 0; j != where + 1; j++) - sha1.update(ASCII_A_CHAR + where); + sha1.update(static_cast<byte>(ASCII_A_CHAR + where)); sha1.update(secret, secret_len); sha1.update(seed, seed_len); SecureVector<byte> sha1_hash = sha1.final(); |