diff --git a/res/res_srtp.c b/res/res_srtp.c index 773d533166..f3f8999c69 100644 --- a/res/res_srtp.c +++ b/res/res_srtp.c @@ -41,7 +41,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #if HAVE_SRTP_VERSION > 1 # include -# include # include "srtp/srtp_compat.h" # include #else diff --git a/res/srtp/srtp_compat.h b/res/srtp/srtp_compat.h index bf42082445..a7f94c6890 100644 --- a/res/srtp/srtp_compat.h +++ b/res/srtp/srtp_compat.h @@ -5,12 +5,8 @@ #define crypto_policy_t srtp_crypto_policy_t -#if defined(SRTP_AES_ICM_128) -#define AES_128_ICM SRTP_AES_ICM_128 -#else -#define AES_128_ICM SRTP_AES_ICM -#endif -#define HMAC_SHA1 SRTP_HMAC_SHA1 +#define AES_128_ICM 1 +#define HMAC_SHA1 3 #define err_status_t srtp_err_status_t #define err_status_ok srtp_err_status_ok