mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Fix from review
This commit is contained in:
@ -2414,8 +2414,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||||||
err_sys("unable to load static memory");
|
err_sys("unable to load static memory");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
else {
|
if (method != NULL) {
|
||||||
/* method is not NULL */
|
|
||||||
ctx = wolfSSL_CTX_new(method(NULL));
|
ctx = wolfSSL_CTX_new(method(NULL));
|
||||||
if (ctx == NULL)
|
if (ctx == NULL)
|
||||||
err_sys("unable to get ctx");
|
err_sys("unable to get ctx");
|
||||||
|
@ -1729,8 +1729,7 @@ 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
|
||||||
else {
|
if (method != NULL) {
|
||||||
/* method is not NULL */
|
|
||||||
ctx = SSL_CTX_new(method(NULL));
|
ctx = SSL_CTX_new(method(NULL));
|
||||||
}
|
}
|
||||||
#endif /* WOLFSSL_STATIC_MEMORY */
|
#endif /* WOLFSSL_STATIC_MEMORY */
|
||||||
|
Reference in New Issue
Block a user