mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
res_srtp: Add support for libsrtp2.x on openSUSE.
Since ASTERISK-26976, libSRTP 2.x can be used for sRTP. However, that change added a private header which is not available on openSUSE for example. To remain compatibility with very old libSRTP versions, the affected/missing symbols AES_128_ICM and HMAC_SHA1 are defined manually. ASTERISK-27733 Change-Id: I25c5cb8fa966043d1506ebef449e5a724412b4b6
This commit is contained in:
@@ -41,7 +41,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
|
||||
#if HAVE_SRTP_VERSION > 1
|
||||
# include <srtp2/srtp.h>
|
||||
# include <srtp2/crypto_types.h>
|
||||
# include "srtp/srtp_compat.h"
|
||||
# include <openssl/rand.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user