Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
crypto: set data before sending to thread pool
Browse files Browse the repository at this point in the history
fixes test-crypto
  • Loading branch information
ry committed Aug 31, 2011
1 parent c91ec22 commit 84cf0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Expand Up @@ -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();
}
Expand Down

0 comments on commit 84cf0c5

Please sign in to comment.