Skip to content

Commit

Permalink
Merge pull request #5943 from JacobBarthelmeh/sessionExport
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohnstown authored Dec 30, 2022
2 parents b438523 + aab12fc commit c925223
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -6510,7 +6510,10 @@ static THREAD_RETURN WOLFSSL_THREAD run_wolfssl_server(void* args)
wolfSSL_CTX_set_default_passwd_cb(ctx, PasswordCallBack);
#endif
#if defined(WOLFSSL_SESSION_EXPORT) && defined(WOLFSSL_DTLS)
AssertIntEQ(WOLFSSL_SUCCESS, wolfSSL_CTX_dtls_set_export(ctx, test_export));
if (callbacks->method == wolfDTLSv1_2_server_method) {
AssertIntEQ(WOLFSSL_SUCCESS,
wolfSSL_CTX_dtls_set_export(ctx, test_export));
}
#endif


Expand Down

0 comments on commit c925223

Please sign in to comment.