*** empty log message ***

This commit is contained in:
Ben Laurie 2008-12-13 17:45:27 +00:00
parent 19d300d07c
commit ecd3370ba0

View File

@ -1532,6 +1532,9 @@ 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);