Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/engine PR/54740: Izu...



details:   https://anonhg.NetBSD.org/src/rev/8d49a02289e4
branches:  trunk
changeset: 465864:8d49a02289e4
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 05 17:52:06 2019 +0000

description:
PR/54740: Izumi Tsutsui: Disable cryptoengine unavailable message when
device is not configured (ENXIO).

diffstat:

 crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9487e0923a88 -r 8d49a02289e4 crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
--- a/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c    Thu Dec 05 16:59:43 2019 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c    Thu Dec 05 17:52:06 2019 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index