Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Handle unverifiable self-signed certificates. #61

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 9, 2011
  1. @schwuk
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/irc.js
View
3  lib/irc.js
@@ -465,7 +465,8 @@ Client.prototype.connect = function ( retryCount, callback ) { // {{{
self.conn.connected = true;
if (self.conn.authorized ||
(self.opt.selfSigned &&
- self.conn.authorizationError === 'DEPTH_ZERO_SELF_SIGNED_CERT')) {
+ (self.conn.authorizationError === 'DEPTH_ZERO_SELF_SIGNED_CERT' ||
+ self.conn.authorizationError === 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'))) {
// authorization successful
self.conn.setEncoding('utf-8');
Something went wrong with that request. Please try again.