Typo, setting the first element of nids[] to NULL instead of setting
authorRichard Levitte <levitte@openssl.org>
Tue, 15 Jun 2004 11:45:42 +0000 (11:45 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Jun 2004 11:45:42 +0000 (11:45 +0000)
*cnids.

crypto/engine/eng_cryptodev.c

index 51197d1e018cfeb4c2b3b1e5c0e8e26369b7f2a1..ab38cd52f09708d979b91a9182e1ef6d34f7bfd9 100644 (file)
@@ -260,7 +260,7 @@ get_cryptodev_ciphers(const int **cnids)
        int fd, i, count = 0;
 
        if ((fd = get_dev_crypto()) < 0) {
-               *nids = NULL;
+               *cnids = NULL;
                return (0);
        }
        memset(&sess, 0, sizeof(sess));
@@ -299,7 +299,7 @@ get_cryptodev_digests(const int **cnids)
        int fd, i, count = 0;
 
        if ((fd = get_dev_crypto()) < 0) {
-               *nids = NULL;
+               *cnids = NULL;
                return (0);
        }
        memset(&sess, 0, sizeof(sess));