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:
parent
24bba40456
commit
2dcc378381
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user