|
@@ -4454,7 +4454,13 @@ static size_t ossl_version(char *buffer, size_t size)
|
|
|
(LIBRESSL_VERSION_NUMBER>>12)&0xff);
|
|
|
#endif
|
|
|
#elif defined(OPENSSL_IS_BORINGSSL)
|
|
|
+#ifdef CURL_BORINGSSL_VERSION
|
|
|
+ return msnprintf(buffer, size, "%s/%s",
|
|
|
+ OSSL_PACKAGE,
|
|
|
+ CURL_BORINGSSL_VERSION);
|
|
|
+#else
|
|
|
return msnprintf(buffer, size, OSSL_PACKAGE);
|
|
|
+#endif
|
|
|
#elif defined(HAVE_OPENSSL_VERSION) && defined(OPENSSL_VERSION_STRING)
|
|
|
return msnprintf(buffer, size, "%s/%s",
|
|
|
OSSL_PACKAGE, OpenSSL_version(OPENSSL_VERSION_STRING));
|