summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-01-29 16:55:24 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-01-29 16:55:24 +0000
commit78b996a398b6df28d1fd6b886f3f47496c29bad2 (patch)
treee4d1e9f2682f4b798769dc502a50743b5daf2695 /lib/libssl
parent1d7421dcefabb35c91f7b7d51521c88831af6b90 (diff)
adjust comment, open_dev_crypto() returns -1 on error.
ok markus@
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/crypto/engine/hw_cryptodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/engine/hw_cryptodev.c b/lib/libssl/src/crypto/engine/hw_cryptodev.c
index 75a56058ca0..0ca442af8a5 100644
--- a/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/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)