summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2019-12-09 16:02:37 +0000
committermartin <martin@NetBSD.org>2019-12-09 16:02:37 +0000
commit0f709ebd9c007b74996067cb3aa08601e0b36c16 (patch)
tree050a634ca7940468f9a7d5faa67d3e1f25e7f0ce /crypto
parent6d211031d5d76311a4ab5d3a58a891da4e497512 (diff)
Pull up following revision(s) (requested by tsutsui in ticket #530):
crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c: revision 1.5 PR/54740: Izumi Tsutsui: Disable cryptoengine unavailable message when device is not configured (ENXIO).
Diffstat (limited to 'crypto')
-rw-r--r--crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c b/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
index 717d7c27794..ceef80a9752 100644
--- a/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
+++ b/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
@@ -761,7 +761,7 @@ void engine_load_devcrypto_int()
if ((cfd = open("/dev/crypto", O_RDWR, 0)) < 0) {
#ifndef ENGINE_DEVCRYPTO_DEBUG
- if (errno != ENOENT)
+ if (errno != ENOENT && errno != ENXIO)
#endif
fprintf(stderr, "Could not open /dev/crypto: %s\n", strerror(errno));
return;