[vlc-commits] Mark srtp-key and srtp-salt safe

Rémi Denis-Courmont git at videolan.org
Mon Jun 27 19:46:14 CEST 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 27 19:15:00 2011 +0300| [219806e43685f9de9b20069189d05608eb009afa] | committer: Jean-Baptiste Kempf

Mark srtp-key and srtp-salt safe
(cherry picked from commit 73cadb239d790835d81a83e53069fbe768a2d260)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=219806e43685f9de9b20069189d05608eb009afa
---

 modules/access/rtp/rtp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index faf21be..e1cd6b1 100755
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -102,8 +102,10 @@ vlc_module_begin ()
 #ifdef HAVE_SRTP
     add_string ("srtp-key", "", NULL,
                 SRTP_KEY_TEXT, SRTP_KEY_LONGTEXT, false)
+        change_safe ()
     add_string ("srtp-salt", "", NULL,
                 SRTP_SALT_TEXT, SRTP_SALT_LONGTEXT, false)
+        change_safe ()
 #endif
     add_integer ("rtp-max-src", 1, NULL, RTP_MAX_SRC_TEXT,
                  RTP_MAX_SRC_LONGTEXT, true)



More information about the vlc-commits mailing list