summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2005-04-29 05:41:40 +0000
committerdjm <djm@openbsd.org>2005-04-29 05:41:40 +0000
commit3c7aa2dca5a9a95cf8fff7891909d492324f662b (patch)
tree8c2763c00c247acfa05c9e3e86e4e53a387146a2 /lib/libssl/src
parentresolve conflicts (diff)
downloadwireguard-openbsd-3c7aa2dca5a9a95cf8fff7891909d492324f662b.tar.xz
wireguard-openbsd-3c7aa2dca5a9a95cf8fff7891909d492324f662b.zip
increase EVP_MAX_MD_SIZE to something sane (big enough for SHA512)
Diffstat (limited to 'lib/libssl/src')
-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