crypto: clarify missing cipher error · nodejs/node@fde8523 · GitHub
Skip to content

Commit fde8523

Browse files
panvaaduh95
authored andcommitted
crypto: clarify missing cipher error
Explain that a cipher is required when a passphrase is provided. Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #64852 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent c604d88 commit fde8523

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

lib/internal/crypto/keys.js

Lines changed: 3 additions & 1 deletion

test/parallel/test-crypto-key-objects.js

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)