Skip to content

Commit b9e5c02

Browse files
remove extra asign and use ExpectIntEQ test directly
1 parent 3d33c78 commit b9e5c02

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/ssl_sess.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3909,10 +3909,6 @@ static int wolfSSL_DupSessionEx(const WOLFSSL_SESSION* input,
39093909
}
39103910
ticBuff = NULL;
39113911

3912-
#ifdef HAVE_MAX_FRAGMENT
3913-
output->mfl = input->mfl;
3914-
#endif
3915-
39163912
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TICKET_NONCE_MALLOC) && \
39173913
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION_GE(5,3)))
39183914
if (preallocUsed != NULL)

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63241,7 +63241,7 @@ static int test_stubs_are_stubs(void)
6324163241

6324263242
/* when implemented this should take WOLFSSL object insted, right now
6324363243
* always returns 0 */
63244-
CHECKZERO_RET(SSL_get_current_expansion, ctx, ctxN);
63244+
ExpectIntEQ(SSL_get_current_expansion(NULL), 0);
6324563245

6324663246
wolfSSL_CTX_free(ctx);
6324763247
ctx = NULL;

0 commit comments

Comments
 (0)