forked from wolfSSL/wolfssl
@@ -2414,9 +2414,11 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||||||
err_sys("unable to load static memory");
|
err_sys("unable to load static memory");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
ctx = wolfSSL_CTX_new(method(NULL));
|
if (method != NULL) {
|
||||||
if (ctx == NULL)
|
ctx = wolfSSL_CTX_new(method(NULL));
|
||||||
err_sys("unable to get ctx");
|
if (ctx == NULL)
|
||||||
|
err_sys("unable to get ctx");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (simulateWantWrite)
|
if (simulateWantWrite)
|
||||||
|
@@ -1729,7 +1729,9 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
|
|||||||
!= WOLFSSL_SUCCESS)
|
!= WOLFSSL_SUCCESS)
|
||||||
err_sys_ex(catastrophic, "unable to load static memory and create ctx");
|
err_sys_ex(catastrophic, "unable to load static memory and create ctx");
|
||||||
#else
|
#else
|
||||||
ctx = SSL_CTX_new(method(NULL));
|
if (method != NULL) {
|
||||||
|
ctx = SSL_CTX_new(method(NULL));
|
||||||
|
}
|
||||||
#endif /* WOLFSSL_STATIC_MEMORY */
|
#endif /* WOLFSSL_STATIC_MEMORY */
|
||||||
if (ctx == NULL)
|
if (ctx == NULL)
|
||||||
err_sys_ex(catastrophic, "unable to get ctx");
|
err_sys_ex(catastrophic, "unable to get ctx");
|
||||||
|
Reference in New Issue
Block a user