Module Name: src
Committed By: martin
Date: Sun Sep 13 15:51:06 UTC 2020
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 #1084):
crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c:
revision 1.8
Restore a local change for PR/54740 lost during openssl 1.1.1e merge.
syslogd(8) complains "Could not open /dev/crypto: Device not configured"
again when pseudo-device crypto(4) is not configured in a kernel.
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.5
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.7
Should be pullued up to netbsd-9.
To generate a diff of this commit:
cvs rdiff -u -r1.4.4.3 -r1.4.4.4 \
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.4.3 src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c:1.4.4.4
--- src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c:1.4.4.3 Mon Apr 27 14:47:21 2020
+++ src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c Sun Sep 13 15:51:06 2020
@@ -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;