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
1 changed files with 1 additions and 1 deletions

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