From c3f7b0b16b98780708ccf03fe2b6d8bd573b11ae Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Thu, 28 May 2020 16:27:16 +0100 Subject: [PATCH] Fix #endif indicator comment Signed-off-by: Hanno Becker --- library/ssl_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index 5146605e2..0d1619248 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -900,7 +900,7 @@ int mbedtls_ssl_encrypt_buf( mbedtls_ssl_context *ssl, auth_done++; } else -#endif /* MBEDTLS_GCM_C || MBEDTLS_CCM_C */ +#endif /* MBEDTLS_GCM_C || MBEDTLS_CCM_C || MBEDTLS_CHACHAPOLY_C */ #if defined(MBEDTLS_CIPHER_MODE_CBC) && \ ( defined(MBEDTLS_AES_C) || defined(MBEDTLS_CAMELLIA_C) || defined(MBEDTLS_ARIA_C) ) if( mode == MBEDTLS_MODE_CBC )