summaryrefslogtreecommitdiff
path: root/src/node_crypto_clienthello.cc
Commit message (Collapse)AuthorAgeFilesLines
* crypto: fix signed/unsigned comparison warningBen Noordhuis2013-08-061-1/+1
| | | | | | | | | | | The type of the expression `(uint16_t) server_names_len + 2` gets implicitly widened to int. Change the type of server_names_len to uint32_t to avoid the following warnings: ../../src/node_crypto_clienthello.cc:144: warning: comparison between signed and unsigned integer expressions ../../src/node_crypto_clienthello.cc:146: warning: comparison between signed and unsigned integer expressions
* tls: asynchronous SNICallbackFedor Indutny2013-08-061-0/+25
| | | | | | | Make ClientHelloParser handle SNI extension, and extend `_tls_wrap.js` to support loading SNI Context from both hello, and resumed session. fix #5967
* tls_wrap: DRY ClientHelloParserFedor Indutny2013-08-061-0/+240
Share ClientHelloParser code between `tls_wrap.cc` and `node_crypto.cc`. fix #5959