Allow TLS1.3 connections

pull/435/head
Andras Fekete 2024-04-04 14:08:20 -04:00
parent 4c2f96ff64
commit aaa1227d17
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ int main()
/* Create and initialize WOLFSSL_CTX */ /* 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"); fprintf(stderr, "ERROR: failed to create WOLFSSL_CTX\n");
ret = -1; ret = -1;
goto exit; goto exit;