vquic-tls: fix SSL backend type for QUIC connections using gnutls

Fix the copy&paste error when querying ssl info for gnutls
on QUIC connections.

Reported-by: Harry Sintonen
Closes #17976
This commit is contained in:
Stefan Eissing 2025-07-20 09:46:46 +02:00 committed by Daniel Stenberg
parent bf9d9fe0bd
commit a15a5f4d29
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -208,7 +208,7 @@ bool Curl_vquic_tls_get_ssl_info(struct curl_tls_ctx *ctx,
return TRUE;
#elif defined(USE_GNUTLS)
(void)give_ssl_ctx; /* gnutls always returns its session */
info->backend = CURLSSLBACKEND_OPENSSL;
info->backend = CURLSSLBACKEND_GNUTLS;
info->internals = ctx->gtls.session;
return TRUE;
#elif defined(USE_WOLFSSL)