Fix compile error

pull/435/head
Andras Fekete 2024-04-22 10:12:56 -04:00
parent 843e4ac8e2
commit 953b896d86
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ int main (int argc, char** argv)
wolfSSL_Debugging_ON();
if ( (ctx = wolfSSL_CTX_new(
#ifndef USE_DTLS12
#ifdef WOLFSSL_DTLS13
wolfDTLSv1_3_client_method()
#else
wolfDTLSv1_2_client_method()

View File

@ -93,7 +93,7 @@ int main(int argc, char** argv)
/* Set ctx to DTLS 1.3 */
if ((ctx = wolfSSL_CTX_new(
#ifndef USE_DTLS12
#ifdef WOLFSSL_DTLS13
wolfDTLSv1_3_server_method()
#else
wolfDTLSv1_2_server_method()

View File

@ -72,7 +72,7 @@ int main(int argc, char** argv)
/* Set ctx to DTLS 1.3 */
if ((ctx = wolfSSL_CTX_new(
#ifndef USE_DTLS12
#ifdef WOLFSSL_DTLS13
wolfDTLSv1_3_server_method()
#else
wolfDTLSv1_2_server_method()