diff options
author | hshoexer <> | 2005-01-29 16:55:23 +0000 |
---|---|---|
committer | hshoexer <> | 2005-01-29 16:55:23 +0000 |
commit | 44248d3f5723370a5a0db73e91e775427c9e9ebc (patch) | |
tree | a7ebc38ad699f19fcc129136252024e45fbf81aa | |
parent | f24586a2b2980dbb003f25aa83a6f6a82ef856c2 (diff) | |
download | openbsd-44248d3f5723370a5a0db73e91e775427c9e9ebc.tar.gz openbsd-44248d3f5723370a5a0db73e91e775427c9e9ebc.tar.bz2 openbsd-44248d3f5723370a5a0db73e91e775427c9e9ebc.zip |
adjust comment, open_dev_crypto() returns -1 on error.
ok markus@
-rw-r--r-- | src/lib/libcrypto/engine/hw_cryptodev.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/engine/hw_cryptodev.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 { | |||
164 | }; | 164 | }; |
165 | 165 | ||
166 | /* | 166 | /* |
167 | * Return a fd if /dev/crypto seems usable, 0 otherwise. | 167 | * Return a fd if /dev/crypto seems usable, -1 otherwise. |
168 | */ | 168 | */ |
169 | static int | 169 | static int |
170 | open_dev_crypto(void) | 170 | 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 { | |||
164 | }; | 164 | }; |
165 | 165 | ||
166 | /* | 166 | /* |
167 | * Return a fd if /dev/crypto seems usable, 0 otherwise. | 167 | * Return a fd if /dev/crypto seems usable, -1 otherwise. |
168 | */ | 168 | */ |
169 | static int | 169 | static int |
170 | open_dev_crypto(void) | 170 | open_dev_crypto(void) |