aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/nssg.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-06-24 23:25:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-01-16 23:23:29 +0100
commitf46c6fbee03ffd14038b1c5a5a73a86fbf862380 (patch)
treea64584823500dbbd15f459c759666b735ac222f4 /lib/vtls/nssg.h
parentf13669a375f5bfd14797bda91642cabe076974fa (diff)
nss: add support for the Certificate Status Request TLS extension
Also known as "status_request" or OCSP stapling, defined in RFC6066 section 8. This requires NSS 3.15 or higher.
Diffstat (limited to 'lib/vtls/nssg.h')
-rw-r--r--lib/vtls/nssg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vtls/nssg.h b/lib/vtls/nssg.h
index 74840e831..963ce4a35 100644
--- a/lib/vtls/nssg.h
+++ b/lib/vtls/nssg.h
@@ -60,6 +60,8 @@ void Curl_nss_md5sum(unsigned char *tmp, /* input */
unsigned char *md5sum, /* output */
size_t md5len);
+bool Curl_nss_cert_status_request(void);
+
/* this backend supports the CAPATH option */
#define have_curlssl_ca_path 1
@@ -86,6 +88,7 @@ void Curl_nss_md5sum(unsigned char *tmp, /* input */
#define curlssl_data_pending(x,y) ((void)x, (void)y, 0)
#define curlssl_random(x,y,z) Curl_nss_random(x,y,z)
#define curlssl_md5sum(a,b,c,d) Curl_nss_md5sum(a,b,c,d)
+#define curlssl_cert_status_request() Curl_nss_cert_status_request()
#define CURL_SSL_BACKEND CURLSSLBACKEND_NSS
#endif /* USE_NSS */