diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-09-01 16:14:56 +0200 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2017-09-05 16:47:55 -0400 |
commit | 1403d28e7ded280e7582daa6e999164588d2234e (patch) | |
tree | 2987731226da0e733c1ccbaf8041e5d5badff1b8 /deps/uv | |
parent | dc7f03c897b408c3ac521c491c245a93449f968a (diff) | |
download | android-node-v8-1403d28e7ded280e7582daa6e999164588d2234e.tar.gz android-node-v8-1403d28e7ded280e7582daa6e999164588d2234e.tar.bz2 android-node-v8-1403d28e7ded280e7582daa6e999164588d2234e.zip |
tls: re-allow falsey option values
5723c4c5f06f138 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: https://github.com/nodejs/node/pull/15131
Ref: https://github.com/nodejs/node/pull/15053
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: MichaƫZasso <targos@protonmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Diffstat (limited to 'deps/uv')
0 files changed, 0 insertions, 0 deletions