From d7ecb3d0a7bb1f34def28296deafbb407bee4a77 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Wed, 21 Jan 2026 23:51:57 +0100 Subject: setting hostname is required for tls1.3 in mbedtls --- vchat-connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vchat-connection.c') diff --git a/vchat-connection.c b/vchat-connection.c index dea69d0..d0abc0d 100644 --- a/vchat-connection.c +++ b/vchat-connection.c @@ -166,7 +166,7 @@ int vc_connect(const char *server, const char *port) { #endif #ifdef TLS_LIB_MBEDTLS if (_engine == TLS_ENGINE_MBEDTLS) - result = vc_mbedtls_connect(serverfd, &vc_store); + result = vc_mbedtls_connect(server, serverfd, &vc_store); #endif vc_cleanup_x509store(&vc_store); -- cgit v1.2.3