mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
openssl: fix boringssl build again
commit d3ab7c5a21e broke the boringssl build since it doesn't have RSA_flags(), so we disable that code block for boringssl builds. Reported-by: W. Mark Kubacki Fixes #2117
This commit is contained in:
parent
014887c50a
commit
cd276c3cca
@ -838,7 +838,7 @@ int cert_stuff(struct connectdata *conn,
|
|||||||
EVP_PKEY_free(pktmp);
|
EVP_PKEY_free(pktmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(OPENSSL_NO_RSA)
|
#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_IS_BORINGSSL)
|
||||||
{
|
{
|
||||||
/* If RSA is used, don't check the private key if its flags indicate
|
/* If RSA is used, don't check the private key if its flags indicate
|
||||||
* it doesn't support it. */
|
* it doesn't support it. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user