mirror of
https://github.com/curl/curl.git
synced 2026-04-19 12:51:14 +03:00
openssl: Fixed Curl_ossl_cert_status_request() not returning FALSE
Modified the Curl_ossl_cert_status_request() function to return FALSE when built with BoringSSL or when OpenSSL is missing the necessary TLS extensions.
This commit is contained in:
parent
a268a804b7
commit
e1bb13c09f
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue