Skip to content
This repository
Browse code

Add Todo comments about domain-ifying crypto

  • Loading branch information...
commit d4ed2e61f7acf9359c6c5c74674677f8f0c0db77 1 parent 45c1d4f
Isaac Z. Schlueter isaacs authored

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. +7 0 src/node_crypto.cc
7 src/node_crypto.cc
@@ -864,6 +864,9 @@ int Connection::SelectSNIContextCallback_(SSL *s, int *ad, void* arg) {
864 864 Local<Function> callback = *p->sniCallback_;
865 865
866 866 // Call it
  867 + //
  868 + // XXX There should be an object connected to this that
  869 + // we can attach a domain onto.
867 870 Local<Value> ret;
868 871 ret = Local<Value>::New(MakeCallback(Context::GetCurrent()->Global(),
869 872 callback, ARRAY_SIZE(argv), argv));
@@ -4123,6 +4126,8 @@ EIO_PBKDF2After(uv_work_t* req) {
4123 4126 argv[1] = Local<Value>::New(Undefined());
4124 4127 }
4125 4128
  4129 + // XXX There should be an object connected to this that
  4130 + // we can attach a domain onto.
4126 4131 MakeCallback(Context::GetCurrent()->Global(),
4127 4132 request->callback,
4128 4133 ARRAY_SIZE(argv), argv);
@@ -4313,6 +4318,8 @@ void RandomBytesAfter(uv_work_t* work_req) {
4313 4318 Local<Value> argv[2];
4314 4319 RandomBytesCheck(req, argv);
4315 4320
  4321 + // XXX There should be an object connected to this that
  4322 + // we can attach a domain onto.
4316 4323 MakeCallback(Context::GetCurrent()->Global(),
4317 4324 req->callback_,
4318 4325 ARRAY_SIZE(argv), argv);

0 comments on commit d4ed2e6

Please sign in to comment.
Something went wrong with that request. Please try again.