From e19efdc1683dcf03710eb0fbc640c5a3359b535f Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Mon, 21 Nov 2022 10:53:59 -0500 Subject: [PATCH] Use current directions in stream update test --- test/srtp_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/srtp_driver.c b/test/srtp_driver.c index b8c14c771..1f4fc5e27 100644 --- a/test/srtp_driver.c +++ b/test/srtp_driver.c @@ -2831,16 +2831,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;