mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
crypto: make error buffer non-static
Doesn't matter now but it will if/when we have support for multiple threads.
This commit is contained in:
1 parent
02fde585b1
commit
699f636d97
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user