summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/openssl-compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h
index abdcb8763..bcefd8f28 100644
--- a/openbsd-compat/openssl-compat.h
+++ b/openbsd-compat/openssl-compat.h
@@ -62,6 +62,12 @@ void ssh_libcrypto_init(void);
62# define OPENSSL_DSA_MAX_MODULUS_BITS 10000 62# define OPENSSL_DSA_MAX_MODULUS_BITS 10000
63#endif 63#endif
64 64
65#ifdef LIBRESSL_VERSION_NUMBER
66# if LIBRESSL_VERSION_NUMBER >= 0x3010000fL
67# define HAVE_BROKEN_CHACHA20
68# endif
69#endif
70
65#ifndef OPENSSL_HAVE_EVPCTR 71#ifndef OPENSSL_HAVE_EVPCTR
66# define EVP_aes_128_ctr evp_aes_128_ctr 72# define EVP_aes_128_ctr evp_aes_128_ctr
67# define EVP_aes_192_ctr evp_aes_128_ctr 73# define EVP_aes_192_ctr evp_aes_128_ctr