From: hyc Date: Thu, 24 Dec 2009 21:59:20 +0000 (+0000) Subject: Fix typo in retrieving client digestpos X-Git-Tag: v2.4~387 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a04cdc3c7683391e5f5ca95e24f21bf4812b256;p=rtmpdump Fix typo in retrieving client digestpos git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@112 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/handshake.h b/handshake.h index 333ac7d..cb42cf9 100644 --- a/handshake.h +++ b/handshake.h @@ -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;