From cd276c3cca4db23384f3272486468ce41b0a338b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 27 Nov 2017 19:39:09 +0100 Subject: [PATCH] openssl: fix boringssl build again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/vtls/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */