aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/polarssl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/polarssl.c b/lib/polarssl.c
index c890a07db..15a3e15b5 100644
--- a/lib/polarssl.c
+++ b/lib/polarssl.c
@@ -432,7 +432,9 @@ void Curl_polarssl_session_free(void *ptr)
size_t Curl_polarssl_version(char *buffer, size_t size)
{
- return snprintf(buffer, size, "PolarSSL");
+ unsigned int version = version_get_number();
+ return snprintf(buffer, size, "PolarSSL/%d.%d.%d", version>>24,
+ (version>>16)&0xff, (version>>8)&0xff);
}
static CURLcode