]> 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:46:07 +0000 (10:46 -0500)
commit4de0e50c320a89ae0938008642716ac19802faf0
tree21e1798e260bdb7f9d2dc8cf6d166d0e5d753c8e
parente8c8d69d473558043b7f5ffbb7607889e0a619f9
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