diff options
-rw-r--r-- | src/protocol/internal/ssh_diffie-hellman.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol/internal/ssh_diffie-hellman.h b/src/protocol/internal/ssh_diffie-hellman.h index f132493..0716d48 100644 --- a/src/protocol/internal/ssh_diffie-hellman.h +++ b/src/protocol/internal/ssh_diffie-hellman.h @@ -5,7 +5,8 @@ #include <openssl/sha.h> #include <openssl/evp.h> -#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ + !defined(LIBRESSL_VERSION_NUMBER) #define ssh_md_ctx_new EVP_MD_CTX_new #define ssh_md_ctx_free EVP_MD_CTX_free #else |