Skip to content

crypto: make ConvertKey clear openssl error stack

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix26133 into master

Failed ConvertKey() operations should not leave errors on OpenSSL's error stack because that's observable by subsequent cryptographic operations. More to the point, it makes said operations fail with an unrelated error.

Fixes: https://github.com/nodejs/node/issues/26133 CI: https://ci.nodejs.org/job/node-test-pull-request/20818/

Merge request reports

Loading