summaryrefslogtreecommitdiff
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
commit0c637670ea1ce0ccca67357ea7f69cdd0441abd1 (patch)
tree827337d2ff61666340816df30a4e57d73a8aa024
parent04b4bc614c57dcd4c7eab468dde0f1913a6c065e (diff)
increase EVP_MAX_MD_SIZE to something sane (big enough for SHA512)
-rw-r--r--lib/libssl/src/crypto/evp/evp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/evp/evp.h b/lib/libssl/src/crypto/evp/evp.h
index 62d95354efd..09e597f631b 100644
--- a/lib/libssl/src/crypto/evp/evp.h
+++ b/lib/libssl/src/crypto/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