Skip to content

Commit

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

- Propagate client's ssl.secureOptions config to TLS.
  • Loading branch information
glepsky authored and brianc committed Jan 8, 2019
1 parent 060a35f commit ccbccc9
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 ccbccc9

Please sign in to comment.