aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2013-10-30 11:12:06 +0100
committerPatrick Monnerat <pm@datasphere.ch>2013-10-30 11:12:06 +0100
commitf6c335d63f2da025a0a3efde1fe59e3bb7189b70 (patch)
tree76fafce3ea32f251118b686fabf288f604b6ef88 /lib/url.c
parent2bd72fa61ca21c2072e09cc6808db0371847bb2c (diff)
NSS: support for CERTINFO feature
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index e86fbc252..03c76078b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1926,7 +1926,8 @@ 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)
+#if defined(USE_SSLEAY) || defined(USE_QSOSSL) || defined(USE_GSKIT) || \
+ defined(USE_NSS)
case CURLOPT_CERTINFO:
data->set.ssl.certinfo = (0 != va_arg(param, long))?TRUE:FALSE;
break;