summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-06-15 11:45:42 +0000
committerRichard Levitte <levitte@openssl.org>2004-06-15 11:45:42 +0000
commit132fc53223bef6f609cf215980e2d271173b4cf8 (patch)
treee35c4d99ffa8de37df23bd478896367d40278d08
parentb3b67209447e3b7271bcd2f36deb64a5d8d7dcec (diff)
downloadopenssl-new-132fc53223bef6f609cf215980e2d271173b4cf8.tar.gz
Typo, setting the first element of nids[] to NULL instead of setting
*cnids.
-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 51197d1e01..ab38cd52f0 100644
--- a/crypto/engine/eng_cryptodev.c
+++ b/crypto/engine/eng_cryptodev.c
@@ -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));