openssl: use RSA_flags() again with BoringSSL

Supported since 2017-12-18:
a0c87adbf0

Follow-up to cd276c3cca #2117

Closes #18369
This commit is contained in:
Viktor Szakats 2025-08-22 19:11:53 +02:00
parent 78f53e0460
commit b54039de2c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View 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. */