From 288a96e16951f05d06f0fabdba65522bf597bb0b Mon Sep 17 00:00:00 2001 From: David Brown Date: Tue, 9 Feb 2021 16:27:55 -0700 Subject: [PATCH] Fix mistyped endif comment Correct the endif comment to match the condition used in the ifdef. Signed-off-by: David Brown --- library/psa_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 7f201f6c6c..18f98c0364 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3915,7 +3915,7 @@ static psa_status_t psa_cipher_setup( psa_cipher_operation_t *operation, } if( ret != 0 ) goto exit; -#endif /* MBEDTLS_PSA_BUILTIN_ALG_CBC_NO_PADDING || MBEDTLS_PADDING_PKCS7 */ +#endif /* MBEDTLS_PSA_BUILTIN_ALG_CBC_NO_PADDING || MBEDTLS_PSA_BUILTIN_ALG_CBC_PKCS7 */ operation->block_size = ( PSA_ALG_IS_STREAM_CIPHER( alg ) ? 1 : PSA_BLOCK_CIPHER_BLOCK_LENGTH( slot->attr.type ) );