Please sign in to comment.
tls: re-allow falsey option values
5723c4c was an unintentional breaking change in that it changed the behaviour of `tls.createSecureContext()` to throw on false-y input rather than ignoring it. This breaks real-world applications like `npm`. This restores the previous behaviour. PR-URL: #15131 Ref: #15053 Reviewed-By: Refael Ackermann <email@example.com> Reviewed-By: Benjamin Gruenbaum <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com> Reviewed-By: Ruben Bridgewater <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Alexey Orlenko <firstname.lastname@example.org> Reviewed-By: MichaëZasso <email@example.com> Reviewed-By: Michael Dawson <firstname.lastname@example.org> Reviewed-By: Timothy Gu <email@example.com> Reviewed-By: Brian White <firstname.lastname@example.org>
- Loading branch information...
Showing with 44 additions and 26 deletions.