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 793c793 commit 2f7ef77Copy full SHA for 2f7ef77
src/crypto/crypto_keys.cc
@@ -1063,6 +1063,7 @@ void NativeKeyObject::New(const FunctionCallbackInfo<Value>& args) {
1063
CHECK_EQ(args.Length(), 1);
1064
CHECK(args[0]->IsObject());
1065
KeyObjectHandle* handle = Unwrap<KeyObjectHandle>(args[0].As<Object>());
1066
+ CHECK_NOT_NULL(handle);
1067
new NativeKeyObject(env, args.This(), handle->Data());
1068
}
1069
0 commit comments