1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

openssl: fix boringssl build again

commit d3ab7c5a21 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:
Daniel Stenberg 2017-11-27 19:39:09 +01:00
parent 014887c50a
commit cd276c3cca
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -838,7 +838,7 @@ int cert_stuff(struct connectdata *conn,
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
* it doesn't support it. */