mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
Check for shared ctx in all configs
This commit is contained in:
@@ -5149,13 +5149,11 @@ static THREAD_RETURN WOLFSSL_THREAD test_server_nofail(void* args)
|
|||||||
opts->return_code = TEST_FAIL;
|
opts->return_code = TEST_FAIL;
|
||||||
cbf = opts->callbacks;
|
cbf = opts->callbacks;
|
||||||
|
|
||||||
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_EITHER_SIDE)
|
|
||||||
if (cbf != NULL && cbf->ctx) {
|
if (cbf != NULL && cbf->ctx) {
|
||||||
ctx = cbf->ctx;
|
ctx = cbf->ctx;
|
||||||
sharedCtx = 1;
|
sharedCtx = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
WOLFSSL_METHOD* method = NULL;
|
WOLFSSL_METHOD* method = NULL;
|
||||||
if (cbf != NULL && cbf->method != NULL) {
|
if (cbf != NULL && cbf->method != NULL) {
|
||||||
|
Reference in New Issue
Block a user