diff --git a/lib/tls.js b/lib/tls.js index b698cc11e9..c47d17f42e 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -205,8 +205,8 @@ exports.checkServerIdentity = function checkServerIdentity(host, cert) { if (!valid) { var err = new Error( - util.format('Hostname/IP doesn\'t match certificate\'s altnames: %j', - reason)); + util.format('Hostname/IP doesn\'t match certificate\'s altnames: %j', + reason)); err.reason = reason; err.host = host; err.cert = cert;