Skip to content

Commit

Permalink
Issue brianc#1769 - Inability to restrict communication protocols to …
Browse files Browse the repository at this point in the history
…set in ssl configuration

- Propagate client's ssl.secureOptions config to TLS.
  • Loading branch information
Gregory Lepsky committed Jan 4, 2019
1 parent 060a35f commit 7f080ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/connection.js
Expand Up @@ -101,6 +101,7 @@ Connection.prototype.connect = function (port, host) {
key: self.ssl.key,
passphrase: self.ssl.passphrase,
cert: self.ssl.cert,
secureOptions: self.ssl.secureOptions,
NPNProtocols: self.ssl.NPNProtocols
})
self.attachListeners(self.stream)
Expand Down

0 comments on commit 7f080ec

Please sign in to comment.