From 250273cf1aa5d8391aeb68ac11b55a067cab1969 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 14 Apr 2010 20:43:06 +0200 Subject: Do not compile aes*-ctr with <=OpenSSL 0.9.7b --- include/libssh/wrapper.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/libssh') diff --git a/include/libssh/wrapper.h b/include/libssh/wrapper.h index 093f8b7..71ed81f 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 +#include +#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; -- cgit