Commit 77ac9628 authored by Tobias Nießen's avatar Tobias Nießen Committed by Trivikram Kamat
Browse files

crypto: simplify state failure handling

It is more intuitive to return true/false instead of undefined/false
and also simplifies handling in the JS layer.

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


Reviewed-By: default avatarJon Moss <me@jonathanmoss.me>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarUjjwal Sharma <usharma1998@gmail.com>
parent 7e29453d
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