Permalink
Browse files

allow unauthorized certs via tlsOpts

  • Loading branch information...
1 parent 23918c2 commit 603e9c167b5f9b51f731663cd8b07e56e8047ab0 @snsparrish snsparrish committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -41,8 +41,8 @@ exports.connect = function () {
var allOk = true;
if(pending === 0){
if(!stream.authorized && tlsOpts.rejectUnauthorized !== false) allOk = false;
- done();
}
+ if (pending === 0) done()
else {
var ack = {
accept : function (ok) {

0 comments on commit 603e9c1

Please sign in to comment.