Unverified Commit cd276c3c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

openssl: fix boringssl build again

commit d3ab7c5a broke the boringssl build since it doesn't have
RSA_flags(), so we disable that code block for boringssl builds.

Reported-by: W. Mark Kubacki
Fixes #2117
parent 014887c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -838,7 +838,7 @@ int cert_stuff(struct connectdata *conn,
      EVP_PKEY_free(pktmp);
    }

#if !defined(OPENSSL_NO_RSA)
#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_IS_BORINGSSL)
    {
      /* If RSA is used, don't check the private key if its flags indicate
       * it doesn't support it. */