diff --git a/src/ssl_sess.c b/src/ssl_sess.c index 0600d4760..0a5da2f9b 100644 --- a/src/ssl_sess.c +++ b/src/ssl_sess.c @@ -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) diff --git a/tests/api.c b/tests/api.c index 4ecc5fa6f..2a8e864f9 100644 --- a/tests/api.c +++ b/tests/api.c @@ -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;