From 699f636d975c6c0babb357c00a721ad27a05323a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 29 Aug 2013 13:57:29 +0200 Subject: [PATCH] crypto: make error buffer non-static Doesn't matter now but it will if/when we have support for multiple threads. --- src/node_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index f861209..531afdc 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -1404,7 +1404,7 @@ int Connection::HandleBIOError(BIO *bio, const char* func, int rv) { return 0; } else { - static char ssl_error_buf[512]; + char ssl_error_buf[512]; ERR_error_string_n(rv, ssl_error_buf, sizeof(ssl_error_buf)); HandleScope scope(node_isolate); -- 2.7.4