summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/sstp
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-08-12 22:44:57 +0300
committerGitHub <noreply@github.com>2026-08-12 22:44:57 +0300
commit4f562467dbdf819395e138617c2a057e02595b9e (patch)
tree901034d82cd545fb8974e580cbec325576b1c2a9 /accel-pppd/ctrl/sstp
parentead8a7839bf2a8dbb4358fb115ed98d688bf2c28 (diff)
parent58ef850d1705d88f006d761d32c55bde5205a27d (diff)
downloadaccel-ppp-4f562467dbdf819395e138617c2a057e02595b9e.tar.gz
accel-ppp-4f562467dbdf819395e138617c2a057e02595b9e.zip
Merge pull request #344 from nuclearcat/accel-ng-ported
l2tp hidden-AVP length fix, per-session IPv6 DNS, crypto.h cleanup
Diffstat (limited to 'accel-pppd/ctrl/sstp')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index 2fd8cb35..db08ae93 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -21,8 +21,11 @@
#include "linux_ppp.h"
/*
- * Suppress OpenSSL 3.0 deprecation warnings for DH API.
- * See crypto.h for detailed explanation.
+ * Suppress OpenSSL 3.0 deprecation warnings for the DH API: it is deprecated
+ * but still functional, and still required for protocol compatibility. The
+ * project sets this for every target (see the top level CMakeLists.txt); it
+ * is repeated here because it only takes effect if it is defined before the
+ * first OpenSSL header is pulled in.
*/
#define OPENSSL_API_COMPAT 0x10100000L
#include <openssl/ssl.h>