summaryrefslogtreecommitdiffstats
path: root/tests/unittests/torture_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/torture_crypto.c')
-rw-r--r--tests/unittests/torture_crypto.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unittests/torture_crypto.c b/tests/unittests/torture_crypto.c
index 4eaa4f61..7c8cf55b 100644
--- a/tests/unittests/torture_crypto.c
+++ b/tests/unittests/torture_crypto.c
@@ -49,11 +49,12 @@ static int get_cipher(struct ssh_cipher_struct *cipher, const char *ciphername){
return SSH_ERROR;
}
-static void torture_crypto_aes256_cbc(void **state){
+static void torture_crypto_aes256_cbc(void **state)
+{
+ uint8_t output[sizeof(cleartext)] = {0};
+ uint8_t iv[16] = {0};
struct ssh_cipher_struct cipher;
int rc;
- uint8_t output[sizeof(cleartext)];
- uint8_t iv[16];
(void)state;
rc = get_cipher(&cipher, "aes256-cbc");