PR: 1969
authorDr. Stephen Henson <steve@openssl.org>
Tue, 30 Jun 2009 15:21:48 +0000 (15:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 30 Jun 2009 15:21:48 +0000 (15:21 +0000)
Submitted by: David McCullough <david_mccullough@securecomputing.com>
Approved by: steve@openssl.org

Don't use repeating key when testing algs.

crypto/engine/eng_cryptodev.c

index 4f2470b..2259916 100644 (file)
@@ -264,7 +264,7 @@ get_cryptodev_ciphers(const int **cnids)
                return (0);
        }
        memset(&sess, 0, sizeof(sess));
                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)
 
        for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
                if (ciphers[i].nid == NID_undef)