aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcrypto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcrypto.c b/src/libcrypto.c
index 340a3e64..a7eadb47 100644
--- a/src/libcrypto.c
+++ b/src/libcrypto.c
@@ -43,6 +43,7 @@
#include <openssl/hmac.h>
#include <openssl/opensslv.h>
#include <openssl/rand.h>
+
#include "libcrypto-compat.h"
#ifdef HAVE_OPENSSL_AES_H
@@ -54,6 +55,10 @@
#include <openssl/des.h>
#endif
+#ifdef HAVE_OPENSSL_CRYPTO_CTR128_ENCRYPT
+#include <openssl/modes.h>
+#endif
+
#if (OPENSSL_VERSION_NUMBER<0x00907000L)
#define OLD_CRYPTO
#endif