summaryrefslogtreecommitdiffstats
path: root/include/libssh/wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/wrapper.h')
-rw-r--r--include/libssh/wrapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/wrapper.h b/include/libssh/wrapper.h
index 093f8b74..71ed81f4 100644
--- a/include/libssh/wrapper.h
+++ b/include/libssh/wrapper.h
@@ -70,6 +70,11 @@ typedef HMAC_CTX* HMACCTX;
#define MD5_DIGEST_LEN MD5_DIGEST_LENGTH
#include <openssl/bn.h>
+#include <openssl/opensslv.h>
+#define OPENSSL_0_9_7b 0x0090702fL
+#if (OPENSSL_VERSION_NUMBER <= OPENSSL_0_9_7b)
+#define BROKEN_AES_CTR
+#endif
typedef BIGNUM* bignum;
typedef BN_CTX* bignum_CTX;