forked from wolfSSL/wolfssl
remove extra asign and use ExpectIntEQ test directly
This commit is contained in:
@@ -3909,10 +3909,6 @@ static int wolfSSL_DupSessionEx(const WOLFSSL_SESSION* input,
|
|||||||
}
|
}
|
||||||
ticBuff = NULL;
|
ticBuff = NULL;
|
||||||
|
|
||||||
#ifdef HAVE_MAX_FRAGMENT
|
|
||||||
output->mfl = input->mfl;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TICKET_NONCE_MALLOC) && \
|
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TICKET_NONCE_MALLOC) && \
|
||||||
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION_GE(5,3)))
|
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION_GE(5,3)))
|
||||||
if (preallocUsed != NULL)
|
if (preallocUsed != NULL)
|
||||||
|
@@ -63241,7 +63241,7 @@ static int test_stubs_are_stubs(void)
|
|||||||
|
|
||||||
/* when implemented this should take WOLFSSL object insted, right now
|
/* when implemented this should take WOLFSSL object insted, right now
|
||||||
* always returns 0 */
|
* always returns 0 */
|
||||||
CHECKZERO_RET(SSL_get_current_expansion, ctx, ctxN);
|
ExpectIntEQ(SSL_get_current_expansion(NULL), 0);
|
||||||
|
|
||||||
wolfSSL_CTX_free(ctx);
|
wolfSSL_CTX_free(ctx);
|
||||||
ctx = NULL;
|
ctx = NULL;
|
||||||
|
Reference in New Issue
Block a user