Skip to content

Commit

Permalink
Merge pull request #617 from bifurcation/inout
Browse files Browse the repository at this point in the history
Use current directions in stream update test
  • Loading branch information
pabuhler authored Nov 23, 2022
2 parents 004b7bb + e19efdc commit cc362ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/srtp_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2833,16 +2833,16 @@ srtp_err_status_t srtp_test_update()
policy.window_size = 128;
policy.allow_repeat_tx = 0;
policy.next = NULL;
policy.ssrc.type = ssrc_any_outbound;
policy.key = test_key;

/* create a send and recive ctx with defualt profile and test_key */
status = srtp_create(&srtp_recv, &policy);
policy.ssrc.type = ssrc_any_outbound;
status = srtp_create(&srtp_snd, &policy);
if (status)
return status;

policy.ssrc.type = ssrc_any_inbound;
status = srtp_create(&srtp_snd, &policy);
status = srtp_create(&srtp_recv, &policy);
if (status)
return status;

Expand Down

0 comments on commit cc362ae

Please sign in to comment.