aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/aes256cbc_encrypt_block.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/aes256cbc_encrypt_block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/aes256cbc_encrypt_block.c b/test/aes256cbc_encrypt_block.c
index 2877d31..9e1ada7 100644
--- a/test/aes256cbc_encrypt_block.c
+++ b/test/aes256cbc_encrypt_block.c
@@ -47,7 +47,7 @@ int main(int argc, char** argv)
fprintf(stderr, "Invalid 128-bit AES block '%s'\n", argv[i]);
continue;
}
- iv = cipher = aes256cbc_encrypt(plain, &key_schedule, &iv);
+ iv = cipher = aes256cbc_encrypt(plain, &key_schedule, iv);
print_aes_block128(&cipher);
}