Skip to content

Commit

Permalink
Set verify=NO correctly when no certificate presented
Browse files Browse the repository at this point in the history
  • Loading branch information
smfreegard committed Mar 31, 2016
1 parent a8dbf57 commit ff4ccdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ Connection.prototype.received_line = function() {
' cipher=' + this.notes.tls.cipher.name +
' verify=' + ((this.notes.tls.authorized) ? 'OK' :
((this.notes.tls.authorizationError &&
this.notes.tls.authorizationError.message === 'UNABLE_TO_GET_ISSUER_CERT') ? 'NO' : 'FAIL')) + ')';
this.notes.tls.authorizationError.code === 'UNABLE_TO_GET_ISSUER_CERT') ? 'NO' : 'FAIL')) + ')';
}
return [
'from ',
Expand Down

0 comments on commit ff4ccdd

Please sign in to comment.