From 20728822ce9bf39f8eba1a79530edbe0af7ec731 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 26 Mar 2008 15:13:30 +0000 Subject: Fixed bugs in libsrtp that effect dtls-srtp git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1894 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/srtp/srtp/srtp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'third_party/srtp') diff --git a/third_party/srtp/srtp/srtp.c b/third_party/srtp/srtp/srtp.c index 5ce595a4..f2445558 100644 --- a/third_party/srtp/srtp/srtp.c +++ b/third_party/srtp/srtp/srtp.c @@ -1806,15 +1806,12 @@ crypto_policy_set_from_profile_for_rtp(crypto_policy_t *policy, /* set SRTP policy from the SRTP profile in the key set */ switch(profile) { case srtp_profile_aes128_cm_sha1_80: - crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); break; case srtp_profile_aes128_cm_sha1_32: crypto_policy_set_aes_cm_128_hmac_sha1_32(policy); - crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); break; case srtp_profile_null_sha1_80: - crypto_policy_set_null_cipher_hmac_sha1_80(policy); crypto_policy_set_null_cipher_hmac_sha1_80(policy); break; /* the following profiles are not (yet) supported */ @@ -1838,7 +1835,7 @@ crypto_policy_set_from_profile_for_rtcp(crypto_policy_t *policy, crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); break; case srtp_profile_aes128_cm_sha1_32: - crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); + crypto_policy_set_aes_cm_128_hmac_sha1_32(policy); break; case srtp_profile_null_sha1_80: crypto_policy_set_null_cipher_hmac_sha1_80(policy); -- cgit v1.2.3