Remove warnings from clang --analyze

This commit is contained in:
Zhi Guan
2024-06-18 09:25:52 +08:00
parent f11be42de7
commit 5821f2041d
5 changed files with 4 additions and 8 deletions

View File

@@ -65,7 +65,6 @@ int sm4_ecb_encrypt_update(SM4_ECB_CTX *ctx,
sm4_encrypt_blocks(&ctx->sm4_key, in, nblocks, out);
in += len;
inlen -= len;
out += len;
*outlen += len;
}
if (inlen) {