summaryrefslogtreecommitdiff
path: root/lib/vtls/gtls.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/gtls.h
parent028a408d57cfcc891b9b88f1d56bc130980e11d0 (diff)
downloadcurl-a439e438f3662f12c003bda3c8cc3f6de09b4da0.tar.gz
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/gtls.h')
-rw-r--r--lib/vtls/gtls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/gtls.h b/lib/vtls/gtls.h
index 9f99042cf..cd6152ca1 100644
--- a/lib/vtls/gtls.h
+++ b/lib/vtls/gtls.h
@@ -73,6 +73,7 @@ void Curl_gtls_md5sum(unsigned char *tmp, /* input */
#define curlssl_data_pending(x,y) (x=x, y=y, 0)
#define curlssl_random(x,y,z) Curl_gtls_random(x,y,z)
#define curlssl_md5sum(a,b,c,d) Curl_gtls_md5sum(a,b,c,d)
+#define CURL_SSL_BACKEND CURLSSLBACKEND_GNUTLS
#endif /* USE_GNUTLS */
#endif /* HEADER_CURL_GTLS_H */