From b4663454b2716ef99e6db5262e3988090c5d1dce Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 26 May 2021 19:57:27 +0200 Subject: [PATCH] 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 --- openvpn/openssl/compat.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/openvpn/openssl/compat.hpp b/openvpn/openssl/compat.hpp index aa7f0c0b..ceececb3 100644 --- a/openvpn/openssl/compat.hpp +++ b/openvpn/openssl/compat.hpp @@ -347,6 +347,7 @@ inline int EC_GROUP_order_bits(const EC_GROUP *group) #if OPENSSL_VERSION_NUMBER < 0x10101000L #include #include +#include inline const BIGNUM *RSA_get0_n(const RSA *r) {