diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2005-04-29 05:41:41 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2005-04-29 05:41:41 +0000 |
commit | 9f18b9e2ceb844b9e22b9c75524cf836be740f37 (patch) | |
tree | 604b0374f7fa1d4a85f26684f3ec7928c08a514e /lib/libcrypto/evp | |
parent | 96d1d9b6e08bc96e9e2ca66809e78057a7ad7715 (diff) |
increase EVP_MAX_MD_SIZE to something sane (big enough for SHA512)
Diffstat (limited to 'lib/libcrypto/evp')
-rw-r--r-- | lib/libcrypto/evp/evp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h index 62d95354efd..09e597f631b 100644 --- a/lib/libcrypto/evp/evp.h +++ b/lib/libcrypto/evp/evp.h @@ -86,7 +86,7 @@ #define EVP_CAST5_KEY_SIZE 16 #define EVP_RC5_32_12_16_KEY_SIZE 16 */ -#define EVP_MAX_MD_SIZE (16+20) /* The SSLv3 md5+sha1 type */ +#define EVP_MAX_MD_SIZE 64 /* to fit SHA512 */ #define EVP_MAX_KEY_LENGTH 32 #define EVP_MAX_IV_LENGTH 16 #define EVP_MAX_BLOCK_LENGTH 32 |