Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: use
validateNumber
for options.minDHSize
If user sets invalid type for options.minDHSize in tls.connect(), it's not internal issue of Node.js. So validateNumber() is more proper than assert(). Plus, set min of validateNumber() as 1 to check minDHSize is positive. Refs: #49896
- Loading branch information