diff options
author | 2005-01-29 16:55:23 +0000 | |
---|---|---|
committer | 2005-01-29 16:55:23 +0000 | |
commit | cb274a567ea3b13f42493fbc7d6991d1a5bcea17 (patch) | |
tree | 10dd95e1247cfa50e285aa1fa3f573f2affd295f /lib/libssl/src/crypto/engine/hw_cryptodev.c | |
parent | Fix memory leak when supersede_lease() fails and it is a DHCPACK (diff) | |
download | wireguard-openbsd-cb274a567ea3b13f42493fbc7d6991d1a5bcea17.tar.xz wireguard-openbsd-cb274a567ea3b13f42493fbc7d6991d1a5bcea17.zip |
adjust comment, open_dev_crypto() returns -1 on error.
ok markus@
Diffstat (limited to 'lib/libssl/src/crypto/engine/hw_cryptodev.c')
-rw-r--r-- | lib/libssl/src/crypto/engine/hw_cryptodev.c | 2 |
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) |