aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-12-13 17:45:49 +0000
committerBen Laurie <ben@openssl.org>2008-12-13 17:45:49 +0000
commita9dbe71ee0bf3aeb2ddcb6abdeefd711ff4ceb38 (patch)
treed07655f49b205e49ef3791e874c3dbf15f64512c /ssl
parentecd3370ba06af0ebb0cb851fc07b9f330d32e8a9 (diff)
downloadopenssl-a9dbe71ee0bf3aeb2ddcb6abdeefd711ff4ceb38.tar.gz
Back out pointless change.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c3
1 files changed, 0 insertions, 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);