Skip to content

crypto: simplify control flow in HKDF

Unify the implementation and perform the same OpenSSL calls regardless of whether the key and/or salt are empty. This simplifies the code and improves coverage.

Refs: https://github.com/nodejs/node/pull/44201

Merge request reports

Loading