From: Richard Levitte Date: Tue, 15 Jun 2004 11:46:06 +0000 (+0000) Subject: Typo, setting the first element of nids[] to NULL instead of setting X-Git-Tag: OpenSSL_0_9_7e~85 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3e00d6c4bb739f3175f0f8997f9142d769918b11;p=oweals%2Fopenssl.git Typo, setting the first element of nids[] to NULL instead of setting *cnids. --- diff --git a/crypto/engine/hw_cryptodev.c b/crypto/engine/hw_cryptodev.c index d4832310ea..3e7fff1c1e 100644 --- a/crypto/engine/hw_cryptodev.c +++ b/crypto/engine/hw_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)); @@ -300,7 +300,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));