projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a382c9a
)
lint: fix indentation
author
Trevor Norris
<trev.norris@gmail.com>
Thu, 3 Jul 2014 04:02:36 +0000
(21:02 -0700)
committer
Trevor Norris
<trev.norris@gmail.com>
Thu, 3 Jul 2014 04:02:36 +0000
(21:02 -0700)
lib/tls.js
patch
|
blob
|
history
diff --git
a/lib/tls.js
b/lib/tls.js
index
b698cc1
..
c47d17f
100644
(file)
--- 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;