Files
scriptc/tests
Chris Tate 7fb950deaf Keep rejectUnauthorized on unless false, and certificates independent of raw
A server with requestCert read a runtime rejectUnauthorized through
JavaScript truthiness, so null, 0 or "" let clients without a valid
certificate through, and tls.connect read it the same way. Both now treat
only false as off, as Node's options.rejectUnauthorized !== false does; a
standalone TLSSocket keeps Node's truthiness test.

An X509Certificate's methods read the record's raw Buffer, so writing
into the Buffer that certificate.raw answers changed later checks, the
PEM and the public key. The record now keeps a hidden copy of the DER
that the methods read, and raw stays the same Buffer at every read, as
in Node.
2026-10-24 17:29:34 -05:00
..
2026-10-23 05:57:14 -05:00
2026-10-24 01:57:53 -05:00
…
2026-10-24 01:57:53 -05:00