[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 12/205: cyassl: get library version string at runti
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 12/205: cyassl: get library version string at runtime |
Date: |
Thu, 20 Apr 2017 16:19:12 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit a21cae5f97727ab357c8527b0a7dc8820e335012
Author: Jay Satiro <address@hidden>
AuthorDate: Sun Feb 26 18:49:39 2017 -0500
cyassl: get library version string at runtime
wolfSSL >= 3.6.0 supports getting its library version string at runtime.
---
lib/vtls/cyassl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c
index 5e5947ce0..1e3b346d6 100644
--- a/lib/vtls/cyassl.c
+++ b/lib/vtls/cyassl.c
@@ -736,7 +736,9 @@ void Curl_cyassl_session_free(void *ptr)
size_t Curl_cyassl_version(char *buffer, size_t size)
{
-#ifdef WOLFSSL_VERSION
+#if LIBCYASSL_VERSION_HEX >= 0x03006000
+ return snprintf(buffer, size, "wolfSSL/%s", wolfSSL_lib_version());
+#elif defined(WOLFSSL_VERSION)
return snprintf(buffer, size, "wolfSSL/%s", WOLFSSL_VERSION);
#elif defined(CYASSL_VERSION)
return snprintf(buffer, size, "CyaSSL/%s", CYASSL_VERSION);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] annotated tag gnurl-7.54.0 created (now ebd83b061), gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 12/205: cyassl: get library version string at runtime,
gnunet <=
- [GNUnet-SVN] [gnurl] 09/205: gopher: fixed detection of an error condition from Curl_urldecode, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 10/205: url: fix unix-socket support for proxy-disabled builds, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 05/205: proxy: fixed a memory leak on OOM, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 13/205: digest_sspi: fix compilation warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 11/205: test1139: allow for the possibility that the man page is not rebuilt, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 06/205: ftp: removed an erroneous free in an OOM path, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 01/205: bump: work on the next release, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 02/205: cmake: Replace invalid UTF-8 byte sequence, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 03/205: test557: explicitly use the C locale so the numeric output is as expected, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 04/205: tests: use consistent environment variables for setting charset, gnunet, 2017/04/20