From 5f18e2c3711c091acb571b898bf820b6192272d6 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 16 Sep 2015 11:16:59 +0200 Subject: openssl: Explicitly include openssl/bn.h If OpenSSL is compiled with OPENSSL_NO_DEPRECATED some of the headers we include don't include openssl/bn.h anymore. Therefore, we have to explicitly include it ourselves where we use BN_* functions. Fixes #1113. --- src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c') diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c index a1af500e2..11d6e8ec5 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c +++ b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c @@ -17,6 +17,7 @@ #ifndef OPENSSL_NO_EC +#include #include #include #include -- cgit v1.2.3