File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47961,6 +47961,12 @@ static int test_wolfSSL_CTX_sess_set_remove_cb(void)
4796147961 ExpectNull(SSL_SESSION_get_ex_data(serverSess, serverSessRemIdx));
4796247962 ExpectIntEQ(serverSessRemCountFree, 1);
4796347963
47964+ /* check on the max fragment size */
47965+ #ifdef HAVE_MAX_FRAGMENT
47966+ ExpectIntEQ(SSL_SESSION_get_max_fragment_length(serverSess),
47967+ MAX_RECORD_SIZE);
47968+ #endif
47969+
4796447970 /* Need to free the references that we kept */
4796547971 SSL_CTX_free(serverSessCtx);
4796647972 SSL_SESSION_free(serverSess);
@@ -63202,8 +63208,15 @@ static int test_stubs_are_stubs(void)
6320263208 CHECKZERO_RET(wolfSSL_CTX_sess_misses, ctx, ctxN);
6320363209 CHECKZERO_RET(wolfSSL_CTX_sess_timeouts, ctx, ctxN);
6320463210
63211+ /* when implemented this should take WOLFSSL object insted, right now
63212+ * always returns 0 */
63213+ CHECKZERO_RET(SSL_get_current_expansion, ctx, ctxN);
63214+
6320563215 wolfSSL_CTX_free(ctx);
6320663216 ctx = NULL;
63217+
63218+ ExpectStrEQ(SSL_COMP_get_name(NULL), "not supported");
63219+ ExpectIntEQ(SSL_get_current_expansion(), 0);
6320763220#endif /* OPENSSL_EXTRA && !NO_WOLFSSL_STUB && (!NO_WOLFSSL_CLIENT ||
6320863221 * !NO_WOLFSSL_SERVER) */
6320963222 return EXPECT_RESULT();
You can’t perform that action at this time.
0 commit comments