From e2b786d40fcc17cf6231d177609b122894f26398 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Wed, 10 Jul 2019 09:49:56 +0100 Subject: [PATCH] Remove misleading comment in mbedtls_ssl_decrypt_buf() The comment doesn't seem to relate to the code that follows. --- library/ssl_tls.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index decb0b482..ba8ba1997 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -2627,9 +2627,6 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context *ssl, unsigned char iv[12]; size_t explicit_iv_len = transform->ivlen - transform->fixed_ivlen; - /* - * Compute and update sizes - */ if( rec->data_len < explicit_iv_len + transform->taglen ) { MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < explicit_iv_len (%d) "