summaryrefslogtreecommitdiff
path: root/lib/internal/errors.js
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-03-27 12:10:48 -0700
committerSam Roberts <vieuxtech@gmail.com>2019-03-28 14:03:25 -0700
commit8c69e06972b5b0aa7e45163f860fb63d90203289 (patch)
tree7c3260ada43e49a4c867f7e37fb693ec01de0a4a /lib/internal/errors.js
parentbcbd35a48d00c915690682b546e6c282bd15150b (diff)
downloadandroid-node-v8-8c69e06972b5b0aa7e45163f860fb63d90203289.tar.gz
android-node-v8-8c69e06972b5b0aa7e45163f860fb63d90203289.tar.bz2
android-node-v8-8c69e06972b5b0aa7e45163f860fb63d90203289.zip
tls: return an OpenSSL error from renegotiate
A generic error lacks any of the context or detail of the underlying OpenSSL error, so throw from C++, and report the OpenSSL error to the callback. PR-URL: https://github.com/nodejs/node/pull/26868 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'lib/internal/errors.js')
-rw-r--r--lib/internal/errors.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/internal/errors.js b/lib/internal/errors.js
index ea7c5a8aa4..c7dac93783 100644
--- a/lib/internal/errors.js
+++ b/lib/internal/errors.js
@@ -1046,7 +1046,6 @@ E('ERR_TLS_INVALID_PROTOCOL_VERSION',
'%j is not a valid %s TLS protocol version', TypeError);
E('ERR_TLS_PROTOCOL_VERSION_CONFLICT',
'TLS protocol version %j conflicts with secureProtocol %j', TypeError);
-E('ERR_TLS_RENEGOTIATE', 'Attempt to renegotiate TLS session failed', Error);
E('ERR_TLS_RENEGOTIATION_DISABLED',
'TLS session renegotiation disabled for this socket', Error);