[rtmpdump] [PATCH] Remove a useless leftover comment
Martin Storsjo
martin at martin.st
Sun Dec 30 23:55:36 CET 2012
The variable is any random challenge, thus the byte order doesn't
matter at all.
---
librtmp/rtmp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
index 7f1c7ff..9c32bac 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
@@ -2598,7 +2598,6 @@ PublisherAuth(RTMP *r, AVal *description)
b64enc(md5sum_val, MD5_DIGEST_LENGTH, salted2, SALTED2_LEN);
RTMP_Log(RTMP_LOGDEBUG, "%s, b64(md5_1) = %s", __FUNCTION__, salted2);
- /* FIXME: what byte order does this depend on? */
challenge2_data = rand();
b64enc((unsigned char *) &challenge2_data, sizeof(int), challenge2, CHALLENGE2_LEN);
--
1.7.9.4
More information about the rtmpdump
mailing list