Do not compile aes*-ctr with <=OpenSSL 0.9.7b

This commit is contained in:
Aris Adamantiadis
2010-04-14 20:43:06 +02:00
parent 6195b133bf
commit 08a1bebb58
3 changed files with 18 additions and 0 deletions

View File

@@ -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;