Fix minor omissions
authorJack Allnutt <m2ys4u@gmail.com>
Mon, 1 Apr 2013 05:42:03 +0000 (05:42 +0000)
committerJack Allnutt <m2ys4u@gmail.com>
Mon, 1 Apr 2013 05:42:03 +0000 (05:42 +0000)
package.json
server/socks.js

index 8bcf245db9c25396ec6725bcf13a8058aa8bd61f..015b8b0b0ea2299726193cde6d4137e55620c452 100644 (file)
@@ -21,7 +21,7 @@
     "daemonize2": "0.4.0-rc.5",\r
     "eventemitter2": "0.4.11",\r
     "ipaddr.js": "0.1.1"\r
-  }\r
+  },\r
   "engines": {\r
     "node": ">=0.10.0"\r
   }\r
index 5cdce47dc0a4334b8e170777e4bc2f5c6f34cae1..7784f030d3e9089873e2f5112831e92285972fac 100755 (executable)
@@ -196,7 +196,7 @@ var startTLS = function () {
     var that = this;
     var plaintext = tls.connect({
         socket: this.socksSocket,
-        rejectUnauthorized: this.rejectUnauthorized
+        rejectUnauthorized: this.remote_options.rejectUnauthorized
     });
     
     plaintext.on('error', function (err) {