Files
node/lib
David Benjamin 1dc438fd8b 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-14 12:02:17 -05:00
..
2016-10-17 09:44:52 -07:00
2016-12-05 03:33:34 +01:00
2017-02-14 11:52:30 -05:00
2017-01-27 08:11:48 -05:00
2016-10-18 21:10:38 -07:00
2017-01-30 12:08:27 -05:00
2016-10-06 11:51:53 -07:00
2016-08-10 23:41:28 +02:00
2017-01-27 08:12:06 -05:00