diff options
author | 2002-06-19 02:19:05 +0000 | |
---|---|---|
committer | 2002-06-19 02:19:05 +0000 | |
commit | 96634e4c7258c8d928eaa7d56879a3d3882100b7 (patch) | |
tree | adc8827f5e5f7568b57457c02c0c9d387de13c2e /lib/libssl/src | |
parent | stretch some ugly while(); (diff) | |
download | wireguard-openbsd-96634e4c7258c8d928eaa7d56879a3d3882100b7.tar.xz wireguard-openbsd-96634e4c7258c8d928eaa7d56879a3d3882100b7.zip |
stupid stupid bug ja ja ja ja
Diffstat (limited to 'lib/libssl/src')
-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 b8217cdea1d..f2d43d55e5f 100644 --- a/lib/libssl/src/crypto/engine/hw_cryptodev.c +++ b/lib/libssl/src/crypto/engine/hw_cryptodev.c @@ -117,7 +117,7 @@ open_dev_crypto() static int fd = -1; if (fd == -1) { - if (fd = open("/dev/crypto", O_RDWR, 0) == -1) + if ((fd = open("/dev/crypto", O_RDWR, 0)) == -1) return (-1); /* close on exec */ if (fcntl(fd, F_SETFD, 1) == -1) { |