summaryrefslogtreecommitdiff
path: root/openbsd-compat/openssl-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/openssl-compat.h')
-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 9e0264c04..0fbf60df4 100644
--- a/openbsd-compat/openssl-compat.h
+++ b/openbsd-compat/openssl-compat.h
@@ -33,6 +33,12 @@ int ssh_compatible_openssl(long, long);
33# error OpenSSL 0.9.8f or greater is required 33# error OpenSSL 0.9.8f or greater is required
34#endif 34#endif
35 35
36#if OPENSSL_VERSION_NUMBER < 0x10100000L
37# define OpenSSL_version_num SSLeay
38# define OpenSSL_version SSLeay_version
39# define OPENSSL_VERSION SSLEAY_VERSION
40#endif
41
36#if OPENSSL_VERSION_NUMBER < 0x10000001L 42#if OPENSSL_VERSION_NUMBER < 0x10000001L
37# define LIBCRYPTO_EVP_INL_TYPE unsigned int 43# define LIBCRYPTO_EVP_INL_TYPE unsigned int
38#else 44#else