diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-09-13 15:11:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-09-13 15:11:26 +0200 |
commit | 7494f0f4981b2ccb55f1fc5aecad383a0d9a8569 (patch) | |
tree | e5a8ba622969e5213e2662c88fe809d4db14559e /lib/url.c | |
parent | 4da70dea283ebffa6127b664c040e51393107554 (diff) |
vtls: have the backend tell if it supports CERTINFO
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1977,12 +1977,13 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, data->set.ssl.fsslctxp = va_arg(param, void *); break; #endif -#if defined(USE_SSLEAY) || defined(USE_QSOSSL) || defined(USE_GSKIT) || \ - defined(USE_NSS) case CURLOPT_CERTINFO: +#ifdef have_curlssl_certinfo data->set.ssl.certinfo = (0 != va_arg(param, long))?TRUE:FALSE; - break; +#else + result = CURLE_NOT_BUILT_IN; #endif + break; case CURLOPT_CAINFO: /* * Set CA info for SSL connection. Specify file name of the CA certificate |