From: Daniel Stenberg Date: Tue, 23 Jan 2024 16:45:22 +0000 (+0100) Subject: osslq: remove the TLS library from the version output X-Git-Tag: curl-8_6_0~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e17b89db8fb569d1fc32e1ca5ab50abe42b023e8;p=thirdparty%2Fcurl.git 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 --- diff --git a/lib/vquic/curl_osslq.c b/lib/vquic/curl_osslq.c index 41f0892475..c499a004bf 100644 --- a/lib/vquic/curl_osslq.c +++ b/lib/vquic/curl_osslq.c @@ -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 */