mirror of
https://github.com/curl/curl.git
synced 2026-06-22 23:05:38 +03:00
openssl: remove RSA_METHOD_FLAG_NO_CHECK handling if unavailable
The flag has been deprecated without replacement in OpenSSL 3.0. Closes https://github.com/curl/curl/pull/7893
This commit is contained in:
parent
1e80f56d0b
commit
6147dfab93
1 changed files with 2 additions and 1 deletions
|
|
@ -1103,7 +1103,8 @@ int cert_stuff(struct Curl_easy *data,
|
|||
EVP_PKEY_free(pktmp);
|
||||
}
|
||||
|
||||
#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_IS_BORINGSSL)
|
||||
#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_IS_BORINGSSL) && \
|
||||
!defined(OPENSSL_NO_DEPRECATED_3_0)
|
||||
{
|
||||
/* If RSA is used, don't check the private key if its flags indicate
|
||||
* it doesn't support it. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue