From e17b89db8fb569d1fc32e1ca5ab50abe42b023e8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 23 Jan 2024 17:45:22 +0100 Subject: [PATCH] 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 --- lib/vquic/curl_osslq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.47.3