]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
osslq: remove the TLS library from the version output
authorDaniel Stenberg <daniel@haxx.se>
Tue, 23 Jan 2024 16:45:22 +0000 (17:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 23 Jan 2024 22:27:45 +0000 (23:27 +0100)
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

index 41f089247598fff7716d3ada501921c50b5cd77b..c499a004bf5204268e817f0cc13f395bb04cc0b1 100644 (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 */