Source-Changes-HG archive

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

[src/netbsd-9]: src/crypto/external/bsd/openssl/dist/crypto/engine Pull up fo...



details:   https://anonhg.NetBSD.org/src/rev/e0a15b888ab1
branches:  netbsd-9
changeset: 843648:e0a15b888ab1
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 09 16:02:37 2019 +0000

description:
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:

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

diffs (12 lines):

diff -r 6587b177ac23 -r e0a15b888ab1 crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c
--- a/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c    Mon Dec 09 16:01:11 2019 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c    Mon Dec 09 16:02:37 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