diff options
author | Christos Zoulas <christos@zoulas.com> | 2018-09-30 16:54:25 -0400 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2018-12-09 22:02:49 -0500 |
commit | 15f77f2cae7f845811fbeabafe620a3b1d6315d8 (patch) | |
tree | aed3480bbc81e783ea4aee89a3faedd7b47be55b /test/ideatest.c | |
parent | 4b6ae3c3c2ce37a766049491af8e8b2426b1a46f (diff) | |
download | openssl-15f77f2cae7f845811fbeabafe620a3b1d6315d8.tar.gz |
add missing const in cast
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'test/ideatest.c')
-rw-r--r-- | test/ideatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ideatest.c b/test/ideatest.c index 58834a11e7..947ab84670 100644 --- a/test/ideatest.c +++ b/test/ideatest.c @@ -74,7 +74,7 @@ static int test_idea_cbc(void) IDEA_set_encrypt_key(k, &key); IDEA_set_decrypt_key(&key, &dkey); memcpy(iv, k, sizeof(iv)); - IDEA_cbc_encrypt((unsigned char *)text, out, text_len, &key, iv, 1); + IDEA_cbc_encrypt((const unsigned char *)text, out, text_len, &key, iv, 1); memcpy(iv, k, sizeof(iv)); IDEA_cbc_encrypt(out, out, IDEA_BLOCK, &dkey, iv, 0); IDEA_cbc_encrypt(&out[8], &out[8], text_len - 8, &dkey, iv, 0); |