summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test/igetest.c
diff options
context:
space:
mode:
authordjm <>2010-10-01 22:54:18 +0000
committerdjm <>2010-10-01 22:54:18 +0000
commitf6ca1ae73bb9eabfb510df2cffc2599db98d35a9 (patch)
treedef8296400903465cb96345535c0a56935eb05a4 /src/lib/libssl/test/igetest.c
parent0229f29a33371533962d8b0b8264882afac53d70 (diff)
downloadopenbsd-f6ca1ae73bb9eabfb510df2cffc2599db98d35a9.tar.gz
openbsd-f6ca1ae73bb9eabfb510df2cffc2599db98d35a9.tar.bz2
openbsd-f6ca1ae73bb9eabfb510df2cffc2599db98d35a9.zip
import OpenSSL-1.0.0a
Diffstat (limited to 'src/lib/libssl/test/igetest.c')
-rw-r--r--src/lib/libssl/test/igetest.c4
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))