From 44248d3f5723370a5a0db73e91e775427c9e9ebc Mon Sep 17 00:00:00 2001 From: hshoexer <> Date: Sat, 29 Jan 2005 16:55:23 +0000 Subject: adjust comment, open_dev_crypto() returns -1 on error. ok markus@ --- src/lib/libcrypto/engine/hw_cryptodev.c | 2 +- src/lib/libssl/src/crypto/engine/hw_cryptodev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index 75a56058ca..0ca442af8a 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/engine/hw_cryptodev.c @@ -164,7 +164,7 @@ static struct { }; /* - * Return a fd if /dev/crypto seems usable, 0 otherwise. + * Return a fd if /dev/crypto seems usable, -1 otherwise. */ static int open_dev_crypto(void) diff --git a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c index 75a56058ca..0ca442af8a 100644 --- a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c +++ b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c @@ -164,7 +164,7 @@ static struct { }; /* - * Return a fd if /dev/crypto seems usable, 0 otherwise. + * Return a fd if /dev/crypto seems usable, -1 otherwise. */ static int open_dev_crypto(void) -- cgit v1.2.3-55-g6feb