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:
@@ -18,6 +18,7 @@
|
||||
|
||||
#ifndef OPENSSL_NO_DH
|
||||
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dh.h>
|
||||
|
||||
#include "openssl_diffie_hellman.h"
|
||||
|
||||
Reference in New Issue
Block a user