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

Curl_ossl_version: adapted to detect BoringSSL

This seems to be the way it should work. Right now we can't build with
BoringSSL and try this out properly due to a minor API breakage.
parent 7efff866
No related branches found
No related tags found
No related merge requests found
......@@ -2831,10 +2831,14 @@ size_t Curl_ossl_version(char *buffer, size_t size)
}
return snprintf(buffer, size, "%s/%lx.%lx.%lx%s",
#ifdef OPENSSL_IS_BORINGSSL
"BoringSSL"
#else
#ifdef LIBRESSL_VERSION_NUMBER
"LibreSSL"
#else
"OpenSSL"
#endif
#endif
, (ssleay_value>>28)&0xf,
(ssleay_value>>20)&0xff,
......
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