summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-03-26 15:13:30 +0000
committerBenny Prijono <bennylp@teluu.com>2008-03-26 15:13:30 +0000
commit20728822ce9bf39f8eba1a79530edbe0af7ec731 (patch)
tree6cf304eddcc1f2ba9e3393c91e589cf336e47c31 /third_party
parent552360cfe801ffecc71d2cc585b7d2026897510e (diff)
Fixed bugs in libsrtp that effect dtls-srtp
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1894 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/srtp/srtp/srtp.c5
1 files changed, 1 insertions, 4 deletions
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
@@ -1807,15 +1807,12 @@ crypto_policy_set_from_profile_for_rtp(crypto_policy_t *policy,
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 */
case srtp_profile_null_sha1_32:
@@ -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);