Back out pointless change.

This commit is contained in:
Ben Laurie 2008-12-13 17:45:49 +00:00
parent ecd3370ba0
commit a9dbe71ee0

View File

@ -1532,9 +1532,6 @@ static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen,
* integrity checks on ticket.
*/
mlen = HMAC_size(&hctx);
if (mlen <= 0)
return -1;
eticklen -= mlen;
/* Check HMAC of encrypted ticket */
HMAC_Update(&hctx, etick, eticklen);