From: Daniel Stenberg Date: Mon, 27 Nov 2017 18:39:09 +0000 (+0100) Subject: openssl: fix boringssl build again X-Git-Tag: curl-7_57_0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd276c3cca4db23384f3272486468ce41b0a338b;p=thirdparty%2Fcurl.git 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 --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 9d3ea14ee5..7b04edfd6b 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. */