We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0041f1c commit 69f2634Copy full SHA for 69f2634
lib/_tls_wrap.js
@@ -1114,20 +1114,14 @@ Server.prototype.setSecureContext = function(options) {
1114
else
1115
this.crl = undefined;
1116
1117
- if (options.sigalgs !== undefined)
1118
- this.sigalgs = options.sigalgs;
1119
- else
1120
- this.sigalgs = undefined;
+ this.sigalgs = options.sigalgs;
1121
1122
if (options.ciphers)
1123
this.ciphers = options.ciphers;
1124
1125
this.ciphers = undefined;
1126
1127
- if (options.ecdhCurve !== undefined)
1128
- this.ecdhCurve = options.ecdhCurve;
1129
1130
- this.ecdhCurve = undefined;
+ this.ecdhCurve = options.ecdhCurve;
1131
1132
if (options.dhparam)
1133
this.dhparam = options.dhparam;
0 commit comments