remove extra asign and use ExpectIntEQ test directly

This commit is contained in:
JacobBarthelmeh
2024-06-10 16:19:27 -06:00
parent 3d33c78e9d
commit b9e5c0252d
2 changed files with 1 additions and 5 deletions

View File

@ -3909,10 +3909,6 @@ static int wolfSSL_DupSessionEx(const WOLFSSL_SESSION* input,
}
ticBuff = NULL;
#ifdef HAVE_MAX_FRAGMENT
output->mfl = input->mfl;
#endif
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TICKET_NONCE_MALLOC) && \
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION_GE(5,3)))
if (preallocUsed != NULL)

View File

@ -63241,7 +63241,7 @@ static int test_stubs_are_stubs(void)
/* when implemented this should take WOLFSSL object insted, right now
* always returns 0 */
CHECKZERO_RET(SSL_get_current_expansion, ctx, ctxN);
ExpectIntEQ(SSL_get_current_expansion(NULL), 0);
wolfSSL_CTX_free(ctx);
ctx = NULL;