Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit fd543eb

Browse files
newsiberiandaprahamian
authored andcommitted
fix(connection): accept incoming missed ssl options from mongo-native-driver
1 parent ca1d909 commit fd543eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/connection/connection.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ var Connection = function(messageHandler, options) {
105105
this.cert = options.cert || null;
106106
this.key = options.key || null;
107107
this.passphrase = options.passphrase || null;
108+
this.ciphers = options.ciphers || null;
109+
this.ecdhCurve = options.ecdhCurve || null;
108110
this.ssl = typeof options.ssl == 'boolean' ? options.ssl : false;
109111
this.rejectUnauthorized = typeof options.rejectUnauthorized == 'boolean' ? options.rejectUnauthorized : true;
110112
this.checkServerIdentity = typeof options.checkServerIdentity == 'boolean'

0 commit comments

Comments
 (0)