Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow unauthorized certs via tlsOpts

  • Loading branch information...
commit 603e9c167b5f9b51f731663cd8b07e56e8047ab0 1 parent 23918c2
@snsparrish snsparrish authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.