aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-03-25 02:33:44 -0400
committerDaniel Stenberg <daniel@haxx.se>2015-03-25 08:08:12 +0100
commitec319626405db23d87c2b3281463d8d641dc16e8 (patch)
tree1e92f0e17b5756622f664c0b5cc7833f9c7b2270 /lib/vtls
parentaa5808b504fa7d3093c480b4c4c8d82d32921709 (diff)
cyassl: If wolfSSL then identify as such in version string
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/cyassl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c
index d400b3f2c..090270a08 100644
--- a/lib/vtls/cyassl.c
+++ b/lib/vtls/cyassl.c
@@ -449,8 +449,8 @@ void Curl_cyassl_session_free(void *ptr)
size_t Curl_cyassl_version(char *buffer, size_t size)
{
-#if defined(LIBCYASSL_VERSION_STRING)
- return snprintf(buffer, size, "CyaSSL/%s", LIBCYASSL_VERSION_STRING);
+#ifdef WOLFSSL_VERSION
+ return snprintf(buffer, size, "wolfSSL/%s", WOLFSSL_VERSION);
#elif defined(CYASSL_VERSION)
return snprintf(buffer, size, "CyaSSL/%s", CYASSL_VERSION);
#else