From: Daniel Stenberg Date: Fri, 6 Oct 2017 08:29:51 +0000 (+0200) Subject: openssl: fix build without HAVE_OPAQUE_EVP_PKEY X-Git-Tag: curl-7_56_1~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dcc378381881a374289d3a1fefb3495d687bf50;p=thirdparty%2Fcurl.git openssl: fix build without HAVE_OPAQUE_EVP_PKEY Reported-by: Javier Sixto Fixes #1955 Closes #1956 --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 4253160aa7..7b41353d00 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -837,7 +837,7 @@ int cert_stuff(struct connectdata *conn, EVP_PKEY_free(pktmp); } -#ifndef OPENSSL_NO_RSA +#if !defined(OPENSSL_NO_RSA) && defined(HAVE_OPAQUE_EVP_PKEY) { /* If RSA is used, don't check the private key if its flags indicate * it doesn't support it. */