aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/vtls.c
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/vtls.c
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/vtls.c')
-rw-r--r--lib/vtls/vtls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index 3c7bc9865..e418955bd 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -697,4 +697,9 @@ void Curl_ssl_md5sum(unsigned char *tmp, /* input */
}
#endif
+int Curl_ssl_backend(void)
+{
+ return (int)CURL_SSL_BACKEND;
+}
+
#endif /* USE_SSL */