summaryrefslogtreecommitdiff
path: root/res/srtp/srtp_compat.h
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2017-09-06 10:02:19 +0200
committerAlexander Traud <pabstraud@compuserve.com>2017-09-06 03:05:45 -0500
commit3a418b7ca2cee850132a469d0fffac92fb1da3c7 (patch)
tree73075e122556117c77d44063c8f8aaeaa2c6bc0b /res/srtp/srtp_compat.h
parent9d79c39be28f11e598f19221c7af136c0023c629 (diff)
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
Diffstat (limited to 'res/srtp/srtp_compat.h')
-rw-r--r--res/srtp/srtp_compat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/res/srtp/srtp_compat.h b/res/srtp/srtp_compat.h
index c23daabe1..56ffca1cc 100644
--- a/res/srtp/srtp_compat.h
+++ b/res/srtp/srtp_compat.h
@@ -16,9 +16,6 @@
#define crypto_policy_set_aes_gcm_128_8_auth srtp_crypto_policy_set_aes_gcm_128_8_auth
#define crypto_policy_set_aes_gcm_256_8_auth srtp_crypto_policy_set_aes_gcm_256_8_auth
-#define AES_128_ICM SRTP_AES_ICM
-#define HMAC_SHA1 SRTP_HMAC_SHA1
-
#define err_status_t srtp_err_status_t
#define err_status_ok srtp_err_status_ok
#define err_status_fail srtp_err_status_fail