]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
openssl: use `RSA_flags()` again with BoringSSL
authorViktor Szakats <commit@vsz.me>
Fri, 22 Aug 2025 17:11:53 +0000 (19:11 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 22 Aug 2025 18:36:11 +0000 (20:36 +0200)
Supported since 2017-12-18:
https://github.com/google/boringssl/commit/a0c87adbf0bc23810895ebd7f131790f137d2f6d

Follow-up to cd276c3cca4db23384f3272486468ce41b0a338b #2117

Closes #18369

lib/vtls/openssl.c

index ccdcdf1c47b8b4ab98c9ff48d9d3600d55e9c8dd..062678e64e15addd55e934f212334a04e4918545 100644 (file)
@@ -1798,8 +1798,7 @@ static CURLcode client_cert(struct Curl_easy *data,
       EVP_PKEY_free(pktmp);
     }
 
-#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_IS_BORINGSSL) &&       \
-  !defined(OPENSSL_NO_DEPRECATED_3_0)
+#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
     {
       /* If RSA is used, do not check the private key if its flags indicate
        * it does not support it. */