Skip to content
Snippets Groups Projects
Commit 118e7330 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

PolarSSL: include version number in version string

Previously it would say PolarSSL only, now it says PolarSSL/1.1.0 in the
same style other libs and components do.
parent 1dd69921
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment