Commit 52495d74 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

SRTP: add debug

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent f1a8ab79
...@@ -599,6 +599,12 @@ srtp_send (srtp_session_t *s, uint8_t *buf, size_t *lenp, size_t bufsize) ...@@ -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); 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; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment