]> git.sesse.net Git - vlc/blobdiff - libs/srtp/test-aes.c
SRTP/SRTCP receive window for replay attack protection
[vlc] / libs / srtp / test-aes.c
index 986bd0b2735df4dda42c6349611beaf8b1fd8ed4..b06b1e39b4670e484bacc4fa5263cdb5e6304c8b 100644 (file)
@@ -117,7 +117,7 @@ static void test_keystream (void)
     if (gcry_cipher_setkey (hd, key, sizeof (key)))
         fatal ("Cipher key error");
 
-    if (rtp_encrypt (hd, 0, 0, 0, salt, buf, 0xff020))
+    if (rtp_crypt (hd, 0, 0, 0, salt, buf, 0xff020))
         fatal ("Encryption failure");
     gcry_cipher_close (hd);