diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-27 11:55:19 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-27 12:53:41 +0000 |
commit | e1bb13c09f8d4cb8d1499fc9f51734729cdcdf2c (patch) | |
tree | 4fddc21f169b5ef6549d31594b7cf95de5507e33 /lib/vtls | |
parent | a268a804b709e6d899f611d9ef1c885d964f7b4a (diff) |
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.
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/openssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index fb19ab1ae..e514e3270 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -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 */ |