summaryrefslogtreecommitdiff
path: root/src/cipher.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2018-06-08 19:31:26 +0200
committerChristian Pointner <equinox@anytun.org>2018-06-08 19:45:54 +0200
commit1f1df7c948267c8939ffe47a9e15ec03b3805a04 (patch)
tree2debab03f6152cbd00c8e1c21768bcbdf7b9bfed /src/cipher.h
parentfix missing include in linux/tun.c (diff)
Add support for openssl 1.1.0.
Thanks to Eneas U de Queiroz <cote2004-github@yahoo.com>
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 570df8d..fedc82a 100644
--- a/src/cipher.h
+++ b/src/cipher.h
@@ -51,7 +51,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