Unverified Commit 2dcc3783 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

openssl: fix build without HAVE_OPAQUE_EVP_PKEY

Reported-by: Javier Sixto
Fixes #1955
Closes #1956
parent 24bba404
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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. */