summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test
diff options
context:
space:
mode:
authordjm <>2010-10-01 22:54:18 +0000
committerdjm <>2010-10-01 22:54:18 +0000
commitb204ac0374903f9d6a2fcc50cfd94578e357d00a (patch)
tree11298f84d1fd40ee808d1e96c219ce8db2ce537e /src/lib/libssl/test
parent424deb351931af3fd885740bc351436321fad2f9 (diff)
parentf6ca1ae73bb9eabfb510df2cffc2599db98d35a9 (diff)
downloadopenbsd-b204ac0374903f9d6a2fcc50cfd94578e357d00a.tar.gz
openbsd-b204ac0374903f9d6a2fcc50cfd94578e357d00a.tar.bz2
openbsd-b204ac0374903f9d6a2fcc50cfd94578e357d00a.zip
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libssl/test')
-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))