Skip to content

Commit 0a2c9f3

Browse files
committed
Use existing check
1 parent c06f95e commit 0a2c9f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wp_aes_aead.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,6 @@ static int wp_aesgcm_encdec(wp_AeadCtx *ctx, unsigned char *out, size_t* outLen,
14031403
ctx->aad, (word32)ctx->aadLen);
14041404
if (rc == AES_GCM_AUTH_E) {
14051405
ctx->authErr = 1;
1406-
ok = 0;
14071406
}
14081407
if (rc != 0) {
14091408
ok = 0;

0 commit comments

Comments
 (0)