crypto: cleanup validation · nodejs/node@aed18df · GitHub
Skip to content

Commit aed18df

Browse files
authored
crypto: cleanup validation
Many of the validations could be simplified and cleaned up by using validators and to keep consistency. PR-URL: #39841 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 9256728 commit aed18df

2 files changed

Lines changed: 210 additions & 78 deletions

File tree

lib/internal/crypto/keygen.js

Lines changed: 26 additions & 35 deletions

0 commit comments

Comments
 (0)