diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 9ad7c29a7..e6ba33d85 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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);