From a9dbe71ee0bf3aeb2ddcb6abdeefd711ff4ceb38 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 13 Dec 2008 17:45:49 +0000 Subject: [PATCH] Back out pointless change. --- ssl/t1_lib.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 9ad7c29a7d..e6ba33d85b 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); -- 2.25.1