aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/cyassl.h
diff options
context:
space:
mode:
authorKyle L. Huff <code@curetheitch.com>2015-03-27 07:22:32 -0400
committerDaniel Stenberg <daniel@haxx.se>2015-03-27 23:32:14 +0100
commitd2feb71752f193ced11c137bdf2026373ebc3dc5 (patch)
tree7b2846a33303f9a9174cc60a00e8e0deff8a4576 /lib/vtls/cyassl.h
parent211f1e3c6bf708e8809f10680d9d3a216d8a14b7 (diff)
cyassl: add SSL context callback support for CyaSSL
Adds support for CURLOPT_SSL_CTX_FUNCTION when using CyaSSL, and better handles CyaSSL instances using NO_FILESYSTEM.
Diffstat (limited to 'lib/vtls/cyassl.h')
-rw-r--r--lib/vtls/cyassl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vtls/cyassl.h b/lib/vtls/cyassl.h
index b492ffa96..ba64ab2ca 100644
--- a/lib/vtls/cyassl.h
+++ b/lib/vtls/cyassl.h
@@ -46,6 +46,9 @@ int Curl_cyassl_random(struct SessionHandle *data,
/* Set the API backend definition to Schannel */
#define CURL_SSL_BACKEND CURLSSLBACKEND_CYASSL
+/* this backend suppots CURLOPT_SSL_CTX_FUNCTION */
+#define have_curlssl_ssl_ctx 1
+
/* API setup for CyaSSL */
#define curlssl_init Curl_cyassl_init
#define curlssl_cleanup() Curl_nop_stmt