← Commit list

9e1e5ea67c

Viktor Szakats
Viktor Szakats
2026-02-15
SUCCESS Duration: 329s

Subject

curl_setup.h: update/expand `OPENSSL_SUPPRESS_DEPRECATED` comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_setup.h+5 -2
@@ -1548,8 +1548,11 @@ typedef struct sockaddr_un {
#endif
#ifdef USE_OPENSSL
-/* OpenSSLv3 marks DES, MD5 and ENGINE functions deprecated but we have no
- replacements (yet) so tell the compiler to not warn for them. */
+/* OpenSSL 3 marks these functions deprecated but we have no replacements (yet)
+ so tell the compiler to not warn for them:
+ - DES_* (for NTLM), SSL_CTX_set_srp_* (for TLS-SRP)
+ - EVP_PKEY_get1_RSA, MD5_*, RSA_flags, RSA_free (auto-skipped for OpenSSL
+ built with no-deprecated) */
# define OPENSSL_SUPPRESS_DEPRECATED
# ifdef _WIN32
/* Silence LibreSSL warnings about wincrypt.h collision. Works in 3.8.2+ */