From 937899a3b8e1124df7a66b83925349d5c9f9e5a9 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 20 Jun 2017 11:32:53 +0200 Subject: vtls: convert the have_curlssl_* constants to runtime flags The entire idea of introducing the Curl_ssl struct to describe SSL backends is to prepare for choosing the SSL backend at runtime. To that end, convert all the #ifdef have_curlssl_* style conditionals to use bit flags instead. Signed-off-by: Johannes Schindelin --- lib/vtls/nssg.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/vtls/nssg.h') diff --git a/lib/vtls/nssg.h b/lib/vtls/nssg.h index 37c4b5b71..222c6e28e 100644 --- a/lib/vtls/nssg.h +++ b/lib/vtls/nssg.h @@ -64,14 +64,5 @@ extern const struct Curl_ssl Curl_ssl_nss; /* 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 - -/* this backend supports CURLOPT_CERTINFO */ -#define have_curlssl_certinfo 1 - -/* this backends supports CURLOPT_PINNEDPUBLICKEY */ -#define have_curlssl_pinnedpubkey 1 - #endif /* USE_NSS */ #endif /* HEADER_CURL_NSSG_H */ -- cgit v1.2.3