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/12019bb9f9bb
branches: trunk
changeset: 967330:12019bb9f9bb
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 698be6073f9a -r 12019bb9f9bb 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