diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-09-16 11:16:59 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-09-16 11:57:52 +0200 |
commit | 5f18e2c3711c091acb571b898bf820b6192272d6 (patch) | |
tree | 7c6bd6ca71c6598ee66d19d3bd1e078a9c6f2c42 /src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c | |
parent | dc486823aa928e8c654cf827061240ae78a0a999 (diff) | |
download | strongswan-5f18e2c3711c091acb571b898bf820b6192272d6.tar.bz2 strongswan-5f18e2c3711c091acb571b898bf820b6192272d6.tar.xz |
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.
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <openssl/bn.h> #include <openssl/ec.h> #include <openssl/objects.h> #include <openssl/bn.h> |