Skip to content

Commit

Permalink
openssl: Fixed Curl_ossl_cert_status_request() not returning FALSE
Browse files Browse the repository at this point in the history
Modified the Curl_ossl_cert_status_request() function to return FALSE
when built with BoringSSL or when OpenSSL is missing the necessary TLS
extensions.
  • Loading branch information
captain-caveman2k committed Jan 27, 2015
1 parent a268a80 commit e1bb13c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vtls/openssl.c
Expand Up @@ -3202,6 +3202,10 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input */

bool Curl_ossl_cert_status_request(void)
{
#if !defined(HAVE_BORINGSSL) && !defined(OPENSSL_NO_TLSEXT)
return TRUE;
#else
return FALSE;
#endif
}
#endif /* USE_SSLEAY */

0 comments on commit e1bb13c

Please sign in to comment.