summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-27 19:39:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-27 19:39:09 +0100
commitcd276c3cca4db23384f3272486468ce41b0a338b (patch)
tree2242f0784091bec67918a411d085a68db31192a0
parent014887c50ab58bf35b1231dbfe11197fe41d59cc (diff)
downloadcurl-cd276c3cca4db23384f3272486468ce41b0a338b.tar.gz
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
-rw-r--r--lib/vtls/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 9d3ea14ee..7b04edfd6 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -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. */