Files
node/test/parallel
Tobias Nießen 0281e2cbf0 crypto: fix propagation of "memory limit exceeded"
When we throw ERR_CRYPTO_INVALID_SCRYPT_PARAMS after a call to
EVP_PBE_scrypt, check if OpenSSL reported an error and if so, append the
OpenSSL error message to the default generic error message. In
particular, this catches cases when `maxmem` is not sufficient, which
otherwise is difficult to identify because our documentation only
provides an approximation of the required `maxmem` value.

Fixes: https://github.com/nodejs/node/issues/53291
PR-URL: https://github.com/nodejs/node/pull/53300
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2024-06-05 13:32:14 +00:00
..
2023-08-15 13:45:44 +00:00
2023-08-15 13:45:34 +00:00
2024-02-15 19:46:30 +00:00
2023-08-15 13:45:44 +00:00
2023-08-15 13:45:44 +00:00
2023-09-29 18:26:27 +00:00
2023-11-15 11:49:14 +00:00
2023-11-17 00:16:38 +00:00
2023-08-15 13:45:44 +00:00
2023-08-15 13:45:44 +00:00
2024-05-02 12:54:46 +00:00