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

Rémi Denis-Courmont git at videolan.org
Mon Jun 27 18:15:15 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 27 19:15:00 2011 +0300| [73cadb239d790835d81a83e53069fbe768a2d260] | committer: Rémi Denis-Courmont

Mark srtp-key and srtp-salt safe

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73cadb239d790835d81a83e53069fbe768a2d260
---

 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 600645e..c0ccad4 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -110,8 +110,10 @@ vlc_module_begin ()
 #ifdef HAVE_SRTP
     add_string ("srtp-key", "",
                 SRTP_KEY_TEXT, SRTP_KEY_LONGTEXT, false)
+        change_safe ()
     add_string ("srtp-salt", "",
                 SRTP_SALT_TEXT, SRTP_SALT_LONGTEXT, false)
+        change_safe ()
 #endif
     add_integer ("rtp-max-src", 1, RTP_MAX_SRC_TEXT,
                  RTP_MAX_SRC_LONGTEXT, true)



More information about the vlc-commits mailing list