Module Name:    src
Committed By:   martin
Date:           Mon Dec  9 16:02:37 UTC 2019

Modified Files:
        src/crypto/external/bsd/openssl/dist/crypto/engine [netbsd-9]:
            eng_devcrypto.c

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.4.1 \
    src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
diff -u src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c:1.4 src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c:1.4.4.1
--- src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c:1.4	Tue Mar 12 16:58:13 2019
+++ src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c	Mon Dec  9 16:02:37 2019
@@ -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;

Reply via email to