diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-10-06 10:29:51 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-06 10:29:51 +0200 |
commit | b37f51d389a5215fc6ab38c2fddf108ceb905f3b (patch) | |
tree | b5044696d7f7323ac4e15100328704ac8d266e67 | |
parent | 24bba4045677065354c041b69820a1988bd5944f (diff) | |
download | curl-bagder/openssl-build-opaque-evp.tar.gz |
openssl: fix build without HAVE_OPAQUE_EVP_PKEYbagder/openssl-build-opaque-evp
Reported-by: Javier Sixto
Fixes #!955
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 4253160aa..7b41353d0 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. */ |