diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2025-11-28 08:39:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-28 08:39:54 +0200 |
| commit | ac31c84a36c069c90e37ab28a9e980c0749b2b37 (patch) | |
| tree | 000feeda61f4fcc3bda6cd625d94c178fbbaa2da /accel-pppd/ctrl | |
| parent | 4dd5072e09df7bf487694fe6bdd16715b419c4f6 (diff) | |
| parent | f03dc39ae891d20e56d7acd764a9b5764a8a2fef (diff) | |
| download | accel-ppp-ac31c84a36c069c90e37ab28a9e980c0749b2b37.tar.gz accel-ppp-ac31c84a36c069c90e37ab28a9e980c0749b2b37.zip | |
Merge pull request #267 from nuclearcat/fix-ssl-warnings
Suppress OpenSSL 3.0 deprecation warnings for legacy crypto APIs
Diffstat (limited to 'accel-pppd/ctrl')
| -rw-r--r-- | accel-pppd/ctrl/sstp/sstp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c index d63caa32..9239da30 100644 --- a/accel-pppd/ctrl/sstp/sstp.c +++ b/accel-pppd/ctrl/sstp/sstp.c @@ -20,8 +20,13 @@ #include "linux_ppp.h" #ifdef CRYPTO_OPENSSL +/* + * Suppress OpenSSL 3.0 deprecation warnings for DH API. + * See crypto.h for detailed explanation. + */ +#define OPENSSL_API_COMPAT 0x10100000L #include <openssl/ssl.h> -#include <openssl/err.h> +#include <openssl/err.h> #endif #include "triton.h" |
