[openssl/openssl] 1636b3: /dev/crypto: Suppress warning when open /dev/crypt...

openssl-machine noreply at github.com
Fri Mar 31 10:26:45 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 1636b355ade558d01f5a826494264ca31d6aeeb7
      https://github.com/openssl/openssl/commit/1636b355ade558d01f5a826494264ca31d6aeeb7
  Author: Taylor R Campbell <campbell+openssl at mumble.net>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M engines/e_devcrypto.c

  Log Message:
  -----------
  /dev/crypto: Suppress warning when open /dev/crypto fails with ENXIO.

On NetBSD the device node is essentially always present, but these
days it's mostly not useful except for testing the kernel crypto
stack since the cost of CPU crypto has gone down much faster than the
cost of I/O to external crypto engines.  So on most systems it is
disabled in a way that makes open fail with ENXIO.  NetBSD has had
this warning for ENXIO patched away for years.

CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20636)




More information about the openssl-commits mailing list