From 9520b31860cec6dadebb9f5049f5479cde5342a9 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 5f27e2da6..8977fecb7 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -2423,9 +2423,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) "