[vlc-commits] SRTP: add debug
Rémi Denis-Courmont
git at videolan.org
Tue Jul 19 17:17:55 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 19 18:37:30 2011 +0300| [52495d74a02c2ba9f602c8a66e6c3bb9ed63d18b] | committer: Rémi Denis-Courmont
SRTP: add debug
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52495d74a02c2ba9f602c8a66e6c3bb9ed63d18b
---
libs/srtp/srtp.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libs/srtp/srtp.c b/libs/srtp/srtp.c
index 766834c..324b14c 100644
--- a/libs/srtp/srtp.c
+++ b/libs/srtp/srtp.c
@@ -599,6 +599,12 @@ srtp_send (srtp_session_t *s, uint8_t *buf, size_t *lenp, size_t bufsize)
}
}
memcpy (buf + len, tag, tag_len);
+#if 0
+ printf ("Sent : 0x");
+ for (unsigned i = 0; i < tag_len; i++)
+ printf ("%02x", tag[i]);
+ puts ("");
+#endif
}
return 0;
More information about the vlc-commits
mailing list