osslq: remove the TLS library from the version output

Since we only support using a single TLS library at any one time, we
know that the TLS library for QUIC is the same that is also shown for
regular TLS.

Fixes #12763
Reported-by: Viktor Szakats
Closes #12767
This commit is contained in:
Daniel Stenberg 2024-01-23 17:45:22 +01:00
parent 5125ddbb10
commit e17b89db8f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -2231,9 +2231,7 @@ bool Curl_conn_is_osslq(const struct Curl_easy *data,
void Curl_osslq_ver(char *p, size_t len)
{
const nghttp3_info *ht3 = nghttp3_version(0);
char tmp[128];
Curl_ssl_version(tmp, sizeof(tmp)-1);
(void)msnprintf(p, len, "%s nghttp3/%s", tmp, ht3->version_str);
(void)msnprintf(p, len, "nghttp3/%s", ht3->version_str);
}
#endif /* USE_OPENSSL_QUIC && USE_NGHTTP3 */