mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Fixed more unused warnings on Ubuntu.
This commit is contained in:
parent
d7001c0156
commit
f46a912b8f
@ -324,7 +324,6 @@ int32_t mz_crypt_aes_set_decrypt_key(void *handle, const void *key, int32_t key_
|
||||
|
||||
int32_t mz_crypt_aes_set_iv(void *handle, const uint8_t *iv, int32_t iv_length) {
|
||||
mz_crypt_aes *aes = (mz_crypt_aes *)handle;
|
||||
int32_t result = 0;
|
||||
if (!aes || !iv || iv_length != MZ_AES_BLOCK_SIZE)
|
||||
return MZ_PARAM_ERROR;
|
||||
memcpy(aes->iv, iv, iv_length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user