aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/nssg.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-07-31 12:19:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-07-31 12:19:51 +0200
commita439e438f3662f12c003bda3c8cc3f6de09b4da0 (patch)
tree953d5cb7766efbcc4e63f47caa420a9e4a303a41 /lib/vtls/nssg.h
parent028a408d57cfcc891b9b88f1d56bc130980e11d0 (diff)
ssl: generalize how the ssl backend identifier is set
Each backend now defines CURL_SSL_BACKEND accordingly. Added the *AXTLS one which was missing previously.
Diffstat (limited to 'lib/vtls/nssg.h')
-rw-r--r--lib/vtls/nssg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/nssg.h b/lib/vtls/nssg.h
index d441de9d9..311f873d7 100644
--- a/lib/vtls/nssg.h
+++ b/lib/vtls/nssg.h
@@ -83,6 +83,7 @@ void Curl_nss_md5sum(unsigned char *tmp, /* input */
#define curlssl_data_pending(x,y) (x=x, y=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 CURL_SSL_BACKEND CURLSSLBACKEND_NSS
#endif /* USE_NSS */
#endif /* HEADER_CURL_NSSG_H */