]> granicus.if.org Git - rtmpdump/commitdiff
Fix typo in retrieving client digestpos
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Thu, 24 Dec 2009 21:59:20 +0000 (21:59 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Thu, 24 Dec 2009 21:59:20 +0000 (21:59 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@112 400ebc74-4327-4243-bc38-086b20814532

handshake.h

index 333ac7d9165431dd24bb64bec0ff3da0a6fb3e7c..cb42cf91d82b8aa260e79ea3077935df8b661e8f 100644 (file)
@@ -713,7 +713,7 @@ SHandShake(RTMP * r)
          Log(LOGWARNING, "Trying different position for client digest!\n");
          digestPosClient = GetDigestOffset2(clientsig, RTMP_SIG_SIZE);
 
-         if (!VerifyDigest(digestPosServer, clientsig, GenuineFPKey, 30))
+         if (!VerifyDigest(digestPosClient, clientsig, GenuineFPKey, 30))
            {
              Log(LOGERROR, "Couldn't verify the client digest\n");     /* continuing anyway will probably fail */
              return false;