Test cleanups. Fix possible leak in TLSX_UseSRTP.

This commit is contained in:
David Garske
2022-01-19 09:20:45 -08:00
parent 86ba0ef643
commit 8e0ece920b
6 changed files with 53 additions and 53 deletions
+3 -3
View File
@@ -322,7 +322,7 @@ static int execute_test_case(int svr_argc, char** svr_argv,
#endif
#ifdef WOLFSSL_SRTP
struct srtp_test_helper srtp_helper;
srtp_test_helper srtp_helper;
#endif
/* Is Valid Cipher and Version Checks */
/* build command list for the Is checks below */
@@ -454,8 +454,8 @@ static int execute_test_case(int svr_argc, char** svr_argv,
#ifdef WOLFSSL_SRTP
srtp_helper_init(&srtp_helper);
cliArgs.srtp_test_helper = &srtp_helper;
svrArgs.srtp_test_helper = &srtp_helper;
cliArgs.srtp_helper = &srtp_helper;
svrArgs.srtp_helper = &srtp_helper;
#endif
#ifdef WOLFSSL_TIRTOS
fdOpenSession(Task_self());