diff options
Diffstat (limited to 'src/node_crypto.cc')
-rw-r--r-- | src/node_crypto.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 9f4ab846cb..61ab265ce1 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -2699,18 +2699,6 @@ int Connection::HandleSSLError(const char* func, } -void Connection::ClearError() { -#ifndef NDEBUG - HandleScope scope(ssl_env()->isolate()); - - // We should clear the error in JS-land - Local<String> error_key = ssl_env()->error_string(); - Local<Value> error = object()->Get(error_key); - CHECK_EQ(error->BooleanValue(), false); -#endif // NDEBUG -} - - void Connection::SetShutdownFlags() { HandleScope scope(ssl_env()->isolate()); |