Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

crypto: set data before sending to thread pool

fixes test-crypto
  • Loading branch information...
ry committed Aug 31, 2011
1 parent c91ec22 commit 84cf0c52802906cc4d0491f55ad449bdc9920823
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_crypto.cc
@@ -3878,8 +3878,8 @@ PBKDF2(const Arguments& args) {
request->callback = Persistent<Function>::New(callback);

uv_work_t* req = new uv_work_t();
uv_queue_work(uv_default_loop(), req, EIO_PBKDF2, EIO_PBKDF2After);
req->data = request;
uv_queue_work(uv_default_loop(), req, EIO_PBKDF2, EIO_PBKDF2After);

return Undefined();
}

0 comments on commit 84cf0c5

Please sign in to comment.
You can’t perform that action at this time.