diff options
Diffstat (limited to 'src/common/aes.c')
-rw-r--r-- | src/common/aes.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index 201cadc741..dbc12dcd23 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -25,13 +25,18 @@ #endif #include <openssl/opensslv.h> +#include "crypto.h" + +#if OPENSSL_VERSION_NUMBER < OPENSSL_V_SERIES(1,0,0) +#error "We require OpenSSL >= 1.0.0" +#endif + #include <assert.h> #include <stdlib.h> #include <string.h> #include <openssl/aes.h> #include <openssl/evp.h> #include <openssl/engine.h> -#include "crypto.h" #include <openssl/modes.h> #include "compat.h" #include "aes.h" |