X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libs%2Fsrtp%2Frecv.c;h=2e2a27951ff0c42515052879d1dca85481b14005;hb=263b77a37a173ae8ed008b959ae54d1d48f09f77;hp=e0546a912d2f11d23825911e2bf86cce4bd5e99f;hpb=56e9569c94674100e92c395deac7ca3b9baaf9ea;p=vlc diff --git a/libs/srtp/recv.c b/libs/srtp/recv.c index e0546a912d..2e2a27951f 100644 --- a/libs/srtp/recv.c +++ b/libs/srtp/recv.c @@ -51,7 +51,8 @@ int main (void) static const uint8_t salt[14] = "\x12\x34\x56\x78\x90" "\x12\x34\x56\x78\x90" "\x12\x34\x56\x78"; - srtp_session_t *s = srtp_create ("AES_CM_128_HMAC_SHA1_80", 0, 0); + srtp_session_t *s = srtp_create (SRTP_ENCR_AES_CM, SRTP_AUTH_HMAC_SHA1, 10, + SRTP_PRF_AES_CM, 0); if (s == NULL) return 1; if (srtp_setkey (s, key, 16, salt, 14))