crypto: remove unneeded guard · nodejs/node@e8c66f9 · GitHub
Skip to content

Commit e8c66f9

Browse files
Trottdanielleadams
authored andcommitted
crypto: remove unneeded guard
createCFRGRaw() will always return an object. The error for an undefined return value will never occur. PR-URL: #43856 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c92135a commit e8c66f9

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lib/internal/crypto/cfrg.js

Lines changed: 0 additions & 2 deletions

lib/internal/crypto/keys.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)