summaryrefslogtreecommitdiff
path: root/src/cipher.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2018-06-08 23:58:57 +0200
committerChristian Pointner <equinox@anytun.org>2018-06-08 23:58:57 +0200
commitf605e5fe4a44d6c9d849f6558535f8aac60761fa (patch)
treefad359213a53406cbe07a0df54888cf463e0b155 /src/cipher.h
parentfix include (diff)
add support for openssl 1.1
Diffstat (limited to 'src/cipher.h')
-rw-r--r--src/cipher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cipher.h b/src/cipher.h
index 6408ffd..e47dab9 100644
--- a/src/cipher.h
+++ b/src/cipher.h
@@ -55,7 +55,9 @@
#ifndef NO_CRYPT
#if defined(USE_SSL_CRYPTO)
+#include <openssl/crypto.h>
#include <openssl/aes.h>
+#include <openssl/modes.h>
#elif defined(USE_NETTLE)
#include <nettle/aes.h>
#else // USE_GCRYPT is the default