1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

openssl: fix build without HAVE_OPAQUE_EVP_PKEY

Reported-by: Javier Sixto
Fixes #1955
Closes #1956
This commit is contained in:
Daniel Stenberg 2017-10-06 10:29:51 +02:00
parent 24bba40456
commit 2dcc378381
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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