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.
This commit is contained in:
Tobias Brunner
2015-09-16 11:57:52 +02:00
parent dc486823aa
commit 5f18e2c371
5 changed files with 5 additions and 0 deletions
@@ -17,6 +17,7 @@
#ifndef OPENSSL_NO_EC
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/objects.h>
#include <openssl/bn.h>