0
0
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:
David Sommerseth 2021-05-26 19:57:27 +02:00
parent 0670c1606b
commit b4663454b2
No known key found for this signature in database
GPG Key ID: 86CF944C9671FDF2

View File

@ -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)
{