mirror of
https://github.com/curl/curl.git
synced 2025-09-06 12:24:59 +03:00
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:
parent
bf9d9fe0bd
commit
a15a5f4d29
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user