Remove cl building warnings

This commit is contained in:
Zhi Guan
2024-05-13 15:52:59 +08:00
parent 623fe136b3
commit e17df320be
16 changed files with 20 additions and 42 deletions

View File

@@ -45,8 +45,6 @@ int sm4_ecb_main(int argc, char **argv)
char *outfile = NULL;
uint8_t key[16];
size_t keylen;
uint8_t iv[16];
size_t ivlen;
FILE *infp = stdin;
FILE *outfp = stdout;
SM4_ECB_CTX ctx;
@@ -182,7 +180,6 @@ bad:
end:
gmssl_secure_clear(key, sizeof(key));
gmssl_secure_clear(iv, sizeof(iv));
gmssl_secure_clear(&ctx, sizeof(ctx));
gmssl_secure_clear(buf, sizeof(buf));
if (infile && infp) fclose(infp);