Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hashOut.data = hashes + SSL_MD5_DIGEST_LEN;
- hashOut.length = SSL_SHA1_DIGEST_LEN;
- if ((err = SSLFreeBuffer(&hashCtx)) != 0)
- goto fail;
- if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0)
- goto fail;
- if ((err = SSLHashSHA1.update(&hashCtx, &clientRandom)) != 0)
- goto fail;
- if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
- goto fail;
- if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
- goto fail;
- goto fail; /* MISTAKE! THIS LINE SHOULD NOT BE HERE */
- if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0)
- goto fail;
- err = sslRawVerify(...);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement