diff options
Diffstat (limited to 'src/lib/libssl/test')
-rw-r--r-- | src/lib/libssl/test/igetest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/test/igetest.c b/src/lib/libssl/test/igetest.c index a2578d09c5..1ba900244d 100644 --- a/src/lib/libssl/test/igetest.c +++ b/src/lib/libssl/test/igetest.c | |||
@@ -221,9 +221,9 @@ static int run_test_vectors(void) | |||
221 | ++errs; | 221 | ++errs; |
222 | } | 222 | } |
223 | 223 | ||
224 | /* try with in == out */ | 224 | /* try with in == out */ |
225 | memcpy(iv, v->iv, sizeof iv); | 225 | memcpy(iv, v->iv, sizeof iv); |
226 | memcpy(buf, v->in, v->length); | 226 | memcpy(buf, v->in, v->length); |
227 | AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); | 227 | AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); |
228 | 228 | ||
229 | if(memcmp(v->out, buf, v->length)) | 229 | if(memcmp(v->out, buf, v->length)) |