Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Todo comments about domain-ifying crypto

  • Loading branch information...
commit d4ed2e61f7acf9359c6c5c74674677f8f0c0db77 1 parent 45c1d4f
@isaacs authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/node_crypto.cc
View
7 src/node_crypto.cc
@@ -864,6 +864,9 @@ int Connection::SelectSNIContextCallback_(SSL *s, int *ad, void* arg) {
Local<Function> callback = *p->sniCallback_;
// Call it
+ //
+ // XXX There should be an object connected to this that
+ // we can attach a domain onto.
Local<Value> ret;
ret = Local<Value>::New(MakeCallback(Context::GetCurrent()->Global(),
callback, ARRAY_SIZE(argv), argv));
@@ -4123,6 +4126,8 @@ EIO_PBKDF2After(uv_work_t* req) {
argv[1] = Local<Value>::New(Undefined());
}
+ // XXX There should be an object connected to this that
+ // we can attach a domain onto.
MakeCallback(Context::GetCurrent()->Global(),
request->callback,
ARRAY_SIZE(argv), argv);
@@ -4313,6 +4318,8 @@ void RandomBytesAfter(uv_work_t* work_req) {
Local<Value> argv[2];
RandomBytesCheck(req, argv);
+ // XXX There should be an object connected to this that
+ // we can attach a domain onto.
MakeCallback(Context::GetCurrent()->Global(),
req->callback_,
ARRAY_SIZE(argv), argv);
Please sign in to comment.
Something went wrong with that request. Please try again.