Skip to content

Commit 7f080ec

Browse files
author
Gregory Lepsky
committed
Issue brianc#1769 - Inability to restrict communication protocols to set in ssl configuration
- Propagate client's ssl.secureOptions config to TLS.
1 parent 060a35f commit 7f080ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: lib/connection.js

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Connection.prototype.connect = function (port, host) {
101101
key: self.ssl.key,
102102
passphrase: self.ssl.passphrase,
103103
cert: self.ssl.cert,
104+
secureOptions: self.ssl.secureOptions,
104105
NPNProtocols: self.ssl.NPNProtocols
105106
})
106107
self.attachListeners(self.stream)

0 commit comments

Comments
 (0)