On Sun, Apr 16, 2023 at 3:09 PM Rahul Sabnis via curl-library <curl-library@lists.haxx.se> wrote: > > On Mon, Apr 17, 2023 at 12:04 AM Jeffrey Walton via curl-library > <curl-library@lists.haxx.se> wrote: >> >> On Sun, Apr 16, 2023 at 2:27 PM Henrik Holst >> <henrik.ho...@millistream.com> wrote: >> > >> > https://www.openssl.org/docs/man3.0/man7/OPENSSL_NO_DEPRECATED.html >> > >> > It should IMHO be just -DOPENSSL_NO_DEPRECATED >> >> Yeah, I was thinking that, too. >> >> And Rahul may (probably?) need OPENSSL_API_COMPAT=30000, if I am >> parsing https://www.openssl.org/docs/man3.0/man7/openssl_user_macros.html >> correctly. > > Tried without and with both those macros (OPENSSL_NO_DEPRECATED & > OPENSSL_API_COMPAT) but same error. > Attached config log in both cases. > > I can't get the link right now, but someone mentioned that setting the macro > OPENSSL_NO_DEPRECATED_3_0 might address this > Also, I found it in the code.. > > $ grep -r OPENSSL_NO_DEPRECATED * > lib/vtls/openssl.c: !defined(OPENSSL_NO_DEPRECATED_3_0) > lib/md5.c: #if !defined(OPENSSL_NO_MD5) && > !defined(OPENSSL_NO_DEPRECATED_3_0) > lib/curl_ntlm_core.c: #if !defined(OPENSSL_NO_DES) && > !defined(OPENSSL_NO_DEPRECATED_3_0)
I think you need to rebuild OpenSSL with --api=3.0.0. See https://github.com/openssl/openssl/blob/master/INSTALL.md#api-level . You might also consider adding the option enable-ec_nistp_64_gcc_128 on x86_64 machines. Jeff -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html