summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-04-29 05:41:41 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-04-29 05:41:41 +0000
commit9f18b9e2ceb844b9e22b9c75524cf836be740f37 (patch)
tree604b0374f7fa1d4a85f26684f3ec7928c08a514e /lib/libcrypto/evp
parent96d1d9b6e08bc96e9e2ca66809e78057a7ad7715 (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.h2
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