tls: make cert/pfx optional in tls.createServer()
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 16 Jan 2014 17:06:56 +0000 (18:06 +0100)
committerFedor Indutny <fedor.indutny@gmail.com>
Fri, 17 Jan 2014 18:55:33 +0000 (18:55 +0000)
commitdb5abd726f648cae9edf26cc02fc0e34e4064391
tree345caf62dd1ec109afeda96dd08289be96169b50
parent262a752c2943842df7babdf55a034beca68794cd
tls: make cert/pfx optional in tls.createServer()

Not all ciphers require the presence of a certificate.  Remove the
check in lib/_tls_wrap.js.

Fixes #6887.
lib/_tls_wrap.js
test/simple/test-tls-no-cert-required.js [moved from test/simple/test-tls-server-missing-options.js with 83% similarity]