Skip to content

Commit aaa1227

Browse files
author
Andras Fekete
committed
Allow TLS1.3 connections
1 parent 4c2f96f commit aaa1227

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tls/server-tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ int main()
8080

8181

8282
/* Create and initialize WOLFSSL_CTX */
83-
if ((ctx = wolfSSL_CTX_new(wolfTLSv1_2_server_method())) == NULL) {
83+
if ((ctx = wolfSSL_CTX_new(wolfTLSv1_3_server_method())) == NULL) {
8484
fprintf(stderr, "ERROR: failed to create WOLFSSL_CTX\n");
8585
ret = -1;
8686
goto exit;

0 commit comments

Comments
 (0)