[rtmpdump] r113 - trunk/handshake.h

hyc subversion at mplayerhq.hu
Thu Dec 24 23:13:04 CET 2009


Author: hyc
Date: Thu Dec 24 23:13:03 2009
New Revision: 113

Log:
Fix typo in verifying client signature

Modified:
   trunk/handshake.h

Modified: trunk/handshake.h
==============================================================================
--- trunk/handshake.h	Thu Dec 24 22:59:20 2009	(r112)
+++ trunk/handshake.h	Thu Dec 24 23:13:03 2009	(r113)
@@ -819,7 +819,7 @@ SHandShake(RTMP * r)
 	     SHA256_DIGEST_LENGTH);
 
       /* verify client response */
-      HMACsha256(&clientsig[digestPosServer], SHA256_DIGEST_LENGTH,
+      HMACsha256(&serversig[digestPosServer], SHA256_DIGEST_LENGTH,
 		 GenuineFPKey, sizeof(GenuineFPKey), digest);
       HMACsha256(clientsig, RTMP_SIG_SIZE - SHA256_DIGEST_LENGTH, digest,
 		 SHA256_DIGEST_LENGTH, signature);


More information about the rtmpdump mailing list