Commit 55379eb4 authored by Voltrex's avatar Voltrex Committed by Node.js GitHub Bot
Browse files

crypto: use `validateObject`

The `validateObject()` validator can be used to cleanup validation and
keep consistency.

PR-URL: https://github.com/nodejs/node/pull/39872


Reviewed-By: default avatarZijian Liu <lxxyxzj@gmail.com>
Reviewed-By: default avatarKhaidi Chu <i@2333.moe>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 8a920185
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment