PR: 1969
Submitted by: David McCullough <david_mccullough@securecomputing.com> Approved by: steve@openssl.org Don't use repeating key when testing algs.
This commit is contained in:
parent
3e70c81ed9
commit
1fd43fd86e
@ -264,7 +264,7 @@ get_cryptodev_ciphers(const int **cnids)
|
|||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
memset(&sess, 0, sizeof(sess));
|
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++) {
|
for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
|
||||||
if (ciphers[i].nid == NID_undef)
|
if (ciphers[i].nid == NID_undef)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user