summaryrefslogtreecommitdiff
path: root/crypto/engine/eng_cryptodev.c
diff options
context:
space:
mode:
authorsteve <steve>2009-06-30 15:28:15 +0000
committersteve <steve>2009-06-30 15:28:15 +0000
commita0e345fdf29afcc1879b2c9ba47de904bd3878f8 (patch)
tree72ac0aa0da4faace09cf22ae1ba355f22ee5aebc /crypto/engine/eng_cryptodev.c
parentd999bb85206209e57837830679e2c91dfb8693ec (diff)
downloadopenssl-a0e345fdf29afcc1879b2c9ba47de904bd3878f8.tar.gz
Updates from 1.0.0-stable
Diffstat (limited to 'crypto/engine/eng_cryptodev.c')
-rw-r--r--crypto/engine/eng_cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
index ab38cd52f..22599163a 100644
--- a/crypto/engine/eng_cryptodev.c
+++ b/crypto/engine/eng_cryptodev.c
@@ -264,7 +264,7 @@ get_cryptodev_ciphers(const int **cnids)
return (0);
}
memset(&sess, 0, sizeof(sess));
- sess.key = (caddr_t)"123456781234567812345678";
+ sess.key = (caddr_t)"123456789abcdefghijklmno";
for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
if (ciphers[i].nid == NID_undef)
@@ -681,7 +681,7 @@ zapparams(struct crypt_kop *kop)
{
int i;
- for (i = 0; i <= kop->crk_iparams + kop->crk_oparams; i++) {
+ for (i = 0; i < kop->crk_iparams + kop->crk_oparams; i++) {
if (kop->crk_param[i].crp_p)
free(kop->crk_param[i].crp_p);
kop->crk_param[i].crp_p = NULL;