Commit Graph

2 Commits

Author SHA1 Message Date
Richard Lau
aac2dccf1c
crypto: avoid hang when no algorithm available
Avoid an endless loop if no algorithm is available to seed the
cryptographically secure pseudorandom number generator (CSPRNG).

Co-authored-by: Anna Henningsen <anna@addaleax.net>
PR-URL: https://github.com/nodejs/node/pull/46237
Fixes: https://github.com/nodejs/node/issues/46200
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2023-01-19 17:31:08 +00:00
Richard Lau
53ec358606
test: add OpenSSL 3.x providers test
Add basic tests for providers when using OpenSSL 3.x.

PR-URL: https://github.com/nodejs/node/pull/44148
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2022-08-24 14:31:32 +00:00