Skip to content

tls: null not valid as a renegotiate callback

Allow undefined as a callback, but do not allow null.

Belatedly respond to https://github.com/nodejs/node/pull/25876#discussion_r253266806

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading