Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/node_crypto.cc b/src/node_crypto.cc
- index 0f148b4..533b294 100644
- --- a/src/node_crypto.cc
- +++ b/src/node_crypto.cc
- @@ -503,7 +503,10 @@ int Connection::HandleSSLError(const char* func, int rv) {
- } else {
- static char ssl_error_buf[512];
- ERR_error_string_n(err, ssl_error_buf, sizeof(ssl_error_buf));
- -
- + while ((err = ERR_get_error()) != 0) {
- + ERR_error_string_n(err, ssl_error_buf, sizeof(ssl_error_buf));
- + fprintf(stderr, "------ SSL: %s\n", ssl_error_buf);
- + }
- HandleScope scope;
- Local<Value> e = Exception::Error(String::New(ssl_error_buf));
- handle_->Set(String::New("error"), e);
Add Comment
Please, Sign In to add comment