Skip to content

crypto: add null check to outputLength logic

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/hash into master

The Hash constructor's outputLength logic checks if the options input is an object, but doesn't check for null objects. This commit adds that check.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading