diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-05 21:38:50 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-05 21:38:50 +0100 |
commit | f7be127256f35116abd462b614e2958963f09155 (patch) | |
tree | ea387fd3c9282f75333be2baaf4e3b8bb6d45c7f | |
parent | 970c5454e453d470d93715d96078c820043282dd (diff) | |
download | gnutls-f7be127256f35116abd462b614e2958963f09155.tar.gz |
corrected SRTP profile names
-rw-r--r-- | tests/mini-dtls-srtp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mini-dtls-srtp.c b/tests/mini-dtls-srtp.c index 76edfdf558..3a5878a592 100644 --- a/tests/mini-dtls-srtp.c +++ b/tests/mini-dtls-srtp.c @@ -105,10 +105,10 @@ client (int fd, int profile) "NONE:+VERS-DTLS1.0:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-ECDH:+CURVE-ALL", NULL); if (profile) - ret = gnutls_srtp_set_profile_direct(session, "SRTP_AES128_CM_SHA1_80", + ret = gnutls_srtp_set_profile_direct(session, "SRTP_AES128_CM_HMAC_SHA1_80", NULL); else - ret = gnutls_srtp_set_profile_direct(session, "SRTP_NULL_SHA1_80", + ret = gnutls_srtp_set_profile_direct(session, "SRTP_NULL_HMAC_SHA1_80", NULL); if (ret < 0) { @@ -230,10 +230,10 @@ server (int fd, int profile) NULL); if (profile) - ret = gnutls_srtp_set_profile_direct(session, "SRTP_AES128_CM_SHA1_80", + ret = gnutls_srtp_set_profile_direct(session, "SRTP_AES128_CM_HMAC_SHA1_80", NULL); else - ret = gnutls_srtp_set_profile_direct(session, "SRTP_NULL_SHA1_80", + ret = gnutls_srtp_set_profile_direct(session, "SRTP_NULL_HMAC_SHA1_80", NULL); if (ret < 0) { |