Files
node/lib
David Benjamin e34ee1d2c9 crypto: remove unused access of tlsext_hostname
The return value of loadSession is ultimately ignored, so don't fill it
in. This inches Node closer to 1.1.0 compatibility and is less code.

Also remove a comment which appears to have long since become invalid.
It dates to 048e0e77e0 when the SNI value
was actually extracted from the session.

This also fixes a segfault should d2i_SSL_SESSION fail to parse the
input and return NULL. Add a test for this case based on
test-tls-session-cache.js.

PR-URL: https://github.com/nodejs/node/pull/10882
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
2017-02-13 13:56:46 -08:00
..
2016-10-16 22:01:02 +02:00
2017-02-10 12:30:25 -05:00
2017-01-05 12:33:10 -08:00
2016-10-18 15:38:43 -07:00
2016-10-04 12:17:32 -04:00
2016-08-10 23:41:28 +02:00
2017-02-11 13:59:34 -08:00
2017-01-18 08:27:10 -08:00