Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/_tls_wrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js
index c86239a7c95..6d07272c7c1 100644
--- a/lib/_tls_wrap.js
+++ b/lib/_tls_wrap.js
@@ -272,7 +272,7 @@ function TLSSocket(socket, options) {
// Proxy for API compatibility
this.ssl = this._handle;
- this.on('error', this._emitTLSError);
+ this.on('error', this._tlsError);
this._init(socket, wrap);
@@ -554,7 +554,7 @@ TLSSocket.prototype._releaseControl = function() {
if (this._controlReleased)
return false;
this._controlReleased = true;
- this.removeListener('error', this._emitTLSError);
+ this.removeListener('error', this._tlsError);
return true;
};