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
Changes for lib/vtls/openssl.c: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -837,7 +837,7 @@ int cert_stuff(struct connectdata *conn,
      EVP_PKEY_free(pktmp);
      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
      /* If RSA is used, don't check the private key if its flags indicate
       * it doesn't support it. */
       * it doesn't support it. */