]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_srtp: Set all possible flags while selecting the Crypto Suite.
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 18 May 2020 15:10:01 +0000 (17:10 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 20 May 2020 15:11:53 +0000 (10:11 -0500)
commitc00b032bbfc14f40537989477229f189a1b529d7
treec9adfe0e1d3cdb61fbc474b2f1b6a2c933b45a32
parent229cb16d52e6f3f788e683d153267e2d05029183
res_srtp: Set all possible flags while selecting the Crypto Suite.

The flags of a previous selection could have been set within the
object 'srtp', for example, when the previous selection returned
failure after setting just 'some' flags. Now, not to clutter the
code, all possible flags are cleared first, and then the selected
flags are set as before.

ASTERISK-28903

Change-Id: I1b9d7aade7d5120244ce7e3a8865518cbd6e0eee
res/res_srtp.c