Browse Source

tls: remove duplicate line

v0.9.1-release
fukayatsu 13 years ago
committed by Ben Noordhuis
parent
commit
0f95a93a2c
  1. 1
      lib/tls.js

1
lib/tls.js

@ -1023,7 +1023,6 @@ Server.prototype.setOptions = function(options) {
if (options.secureProtocol) this.secureProtocol = options.secureProtocol; if (options.secureProtocol) this.secureProtocol = options.secureProtocol;
if (options.crl) this.crl = options.crl; if (options.crl) this.crl = options.crl;
if (options.ciphers) this.ciphers = options.ciphers; if (options.ciphers) this.ciphers = options.ciphers;
if (options.secureProtocol) this.secureProtocol = options.secureProtocol;
var secureOptions = options.secureOptions || 0; var secureOptions = options.secureOptions || 0;
if (options.honorCipherOrder) { if (options.honorCipherOrder) {
secureOptions |= constants.SSL_OP_CIPHER_SERVER_PREFERENCE; secureOptions |= constants.SSL_OP_CIPHER_SERVER_PREFERENCE;

Loading…
Cancel
Save