From 6f98d5d3484c6da28592a490e61269b1f9f98f90 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 20 Nov 2019 14:49:47 -0700 Subject: [PATCH] remove extra parentheses that clang complained about --- wolfcrypt/src/evp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/evp.c b/wolfcrypt/src/evp.c index 00ef9f57e..6e0a7b133 100644 --- a/wolfcrypt/src/evp.c +++ b/wolfcrypt/src/evp.c @@ -418,7 +418,7 @@ WOLFSSL_API int wolfSSL_EVP_CipherUpdate(WOLFSSL_EVP_CIPHER_CTX *ctx, /* During decryption we save the last block to check padding on Final. * Update the last block stored if one has already been stored */ - if ((ctx->enc == 0)) { + if (ctx->enc == 0) { if (ctx->lastUsed == 1) { XMEMCPY(out, ctx->lastBlock, ctx->block_size); *outl+= ctx->block_size;