summaryrefslogtreecommitdiff
path: root/lib/vtls/nssg.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-17 16:03:49 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-17 15:38:22 +0000
commit8bb3443a210e9aed888055b8a3d39646ca234c49 (patch)
tree06c9f91e970faaa14bb8f4e3d4be95468d70a8f9 /lib/vtls/nssg.h
parent30ef1a077996c71e463beae53354e8ffc7a4c90d (diff)
downloadgnurl-8bb3443a210e9aed888055b8a3d39646ca234c49.tar.gz
gnurl-8bb3443a210e9aed888055b8a3d39646ca234c49.tar.bz2
gnurl-8bb3443a210e9aed888055b8a3d39646ca234c49.zip
vtls: Separate the SSL backend definition from the API setup
Slight code cleanup as the SSL backend #define is mixed up with the API function setup.
Diffstat (limited to 'lib/vtls/nssg.h')
-rw-r--r--lib/vtls/nssg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/vtls/nssg.h b/lib/vtls/nssg.h
index 318710628..9ab8f76ea 100644
--- a/lib/vtls/nssg.h
+++ b/lib/vtls/nssg.h
@@ -62,6 +62,9 @@ void Curl_nss_md5sum(unsigned char *tmp, /* input */
bool Curl_nss_cert_status_request(void);
+/* Set the API backend definition to NSS */
+#define CURL_SSL_BACKEND CURLSSLBACKEND_NSS
+
/* this backend supports the CAPATH option */
#define have_curlssl_ca_path 1
@@ -89,7 +92,6 @@ bool Curl_nss_cert_status_request(void);
#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 */
#endif /* HEADER_CURL_NSSG_H */