Skip to content

Commit

Permalink
Move lock back to node_crypto.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Dec 8, 2011
1 parent 3d3f29c commit c5e51ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@ static const int X509_NAME_FLAGS = ASN1_STRFLGS_ESC_CTRL
#define version_symbol NODE_VAR(version_symbol)
#define ext_key_usage_symbol NODE_VAR(ext_key_usage_symbol)
#define secure_context_constructor NODE_VAR(secure_context_constructor)
#define locks NODE_VAR(locks)


namespace node {
namespace crypto {

static uv_rwlock_t* locks;

using namespace v8;


Expand Down
1 change: 0 additions & 1 deletion src/node_vars.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ struct globals {
v8::Persistent<v8::String> callback_sym;

// node_crypto.cc
uv_rwlock_t* locks;
v8::Persistent<v8::String> subject_symbol;
v8::Persistent<v8::String> subjectaltname_symbol;
v8::Persistent<v8::String> modulus_symbol;
Expand Down

0 comments on commit c5e51ce

Please sign in to comment.