From aaa1227d1721754ed9105ddf36803e061efe4211 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Thu, 4 Apr 2024 14:08:20 -0400 Subject: [PATCH] Allow TLS1.3 connections --- tls/server-tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls/server-tls.c b/tls/server-tls.c index a3ab5ad6..09cd0ea0 100644 --- a/tls/server-tls.c +++ b/tls/server-tls.c @@ -80,7 +80,7 @@ int main() /* Create and initialize WOLFSSL_CTX */ - if ((ctx = wolfSSL_CTX_new(wolfTLSv1_2_server_method())) == NULL) { + if ((ctx = wolfSSL_CTX_new(wolfTLSv1_3_server_method())) == NULL) { fprintf(stderr, "ERROR: failed to create WOLFSSL_CTX\n"); ret = -1; goto exit;