mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-22 05:06:08 +08:00
Remove warnings from clang --analyze
This commit is contained in:
@@ -124,7 +124,6 @@ int sm4_cfb_encrypt_update(SM4_CFB_CTX *ctx,
|
||||
sm4_cfb_encrypt(&ctx->sm4_key, ctx->sbytes, ctx->iv, in, len, out);
|
||||
in += len;
|
||||
inlen -= len;
|
||||
out += len;
|
||||
*outlen += len;
|
||||
}
|
||||
if (inlen) {
|
||||
@@ -214,7 +213,6 @@ int sm4_cfb_decrypt_update(SM4_CFB_CTX *ctx,
|
||||
sm4_cfb_decrypt(&ctx->sm4_key, ctx->sbytes, ctx->iv, in, len, out);
|
||||
in += len;
|
||||
inlen -= len;
|
||||
out += len;
|
||||
*outlen += len;
|
||||
}
|
||||
if (inlen) {
|
||||
|
||||
Reference in New Issue
Block a user