diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2012-07-20 21:10:23 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2012-07-20 21:13:54 +0400 |
commit | 93d496a4ec029d13928e19aada428d2ef462e5ae (patch) | |
tree | 80f719c4a65cd713ec9377a9aae8193521b9d265 /lib | |
parent | 0cf235410dfa621668c34b5e70c6b7fb2dab2787 (diff) | |
download | node-new-93d496a4ec029d13928e19aada428d2ef462e5ae.tar.gz |
tls: revert accidental API change
socket.authorizationError should always be string. Also make sni test
pass.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tls.js b/lib/tls.js index 4e427fefa8..d437da9a29 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -1089,7 +1089,7 @@ function Server(/* [options], listener */) { } else { var verifyError = pair.ssl.verifyError(); if (verifyError) { - pair.cleartext.authorizationError = verifyError; + pair.cleartext.authorizationError = verifyError.message; if (self.rejectUnauthorized) { socket.destroy(); |