We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NativeKeyObject
1 parent de77371 commit fbb32e0Copy full SHA for fbb32e0
src/crypto/crypto_keys.cc
@@ -1045,6 +1045,7 @@ void NativeKeyObject::New(const FunctionCallbackInfo<Value>& args) {
1045
CHECK_EQ(args.Length(), 1);
1046
CHECK(args[0]->IsObject());
1047
KeyObjectHandle* handle = Unwrap<KeyObjectHandle>(args[0].As<Object>());
1048
+ CHECK_NOT_NULL(handle);
1049
new NativeKeyObject(env, args.This(), handle->Data());
1050
}
1051
0 commit comments