From 8bb3443a210e9aed888055b8a3d39646ca234c49 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 17 Jan 2015 16:03:49 +0000 Subject: 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. --- lib/vtls/nssg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/vtls/nssg.h') 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 */ -- cgit v1.2.3