summaryrefslogtreecommitdiffstats
path: root/include/libssh/libgcrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/libgcrypt.h')
-rw-r--r--include/libssh/libgcrypt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libgcrypt.h b/include/libssh/libgcrypt.h
index 3afbcb4..6554555 100644
--- a/include/libssh/libgcrypt.h
+++ b/include/libssh/libgcrypt.h
@@ -37,7 +37,9 @@ typedef gcry_md_hd_t HMACCTX;
#define SHA384_DIGEST_LENGTH 48
#define SHA512_DIGEST_LENGTH 64
+#ifndef EVP_MAX_MD_SIZE
#define EVP_MAX_MD_SIZE 36
+#endif
typedef gcry_mpi_t bignum;