res_srtp: Add support for libsrtp2.1.
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 6 Sep 2017 08:02:19 +0000 (10:02 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Wed, 6 Sep 2017 08:02:19 +0000 (10:02 +0200)
commit2d395793b7e2fb8c172776e22481e6d6b42ec0c3
treec71abc0b69907e8255cad33bd7c52832071a9cdf
parentf556c31aea25e189b1f6dfae0a541e3575a8a9f5
res_srtp: Add support for libsrtp2.1.

Asterisk is able to use libSRTP 2.0.x. However since libSRTP 2.1.x, the macro
SRTP_AES_ICM got renamed to SRTP_AES_ICM_128. Beside to still compile with
previous versions of libSRTP, this change allows libSRTP 2.1.x as well.

ASTERISK-27253 #close

Change-Id: I2e6eb3c3bc844fee8a624060a2eb6f182dc70315
res/srtp/srtp_compat.h