mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
openssl: Fix include file issues with OpenSSL compat.hpp
The compat.hpp header had issues when building on Debian 9, where it complained about SSL_CTX_set1_curves() not being defined. This was due to openssl/ssl.h not being included inside the #if block where the compat wrapper was defined. Signed-off-by: David Sommerseth <davids@openvpn.net>
This commit is contained in:
parent
0670c1606b
commit
b4663454b2
@ -347,6 +347,7 @@ inline int EC_GROUP_order_bits(const EC_GROUP *group)
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10101000L
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/dsa.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
inline const BIGNUM *RSA_get0_n(const RSA *r)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user