PR/54740: Izumi Tsutsui: Disable cryptoengine unavailable message when device is not configured (ENXIO).diff -r1.4 -r1.5 src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
(christos)
--- src/crypto/external/bsd/openssl/dist/crypto/engine/Attic/eng_devcrypto.c 2019/03/12 16:58:13 1.4
+++ src/crypto/external/bsd/openssl/dist/crypto/engine/Attic/eng_devcrypto.c 2019/12/05 17:52:06 1.5
@@ -761,7 +761,7 @@
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;