| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5fc1e27 commit 9e50f17
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1602,7 +1602,7 @@ void SecureContext::GetCertificate(const FunctionCallbackInfo<Value>& args) { | |||
| 1602 | 1602 | else | |
| 1603 | 1603 | cert = wrap->issuer_; | |
| 1604 | 1604 | if (cert == nullptr) | |
| 1605 | - return args.GetReturnValue().Set(Null(env->isolate())); | ||
| 1605 | + return args.GetReturnValue().SetNull(); | ||
| 1606 | 1606 | ||
| 1607 | 1607 | int size = i2d_X509(cert, nullptr); | |
| 1608 | 1608 | Local<Object> buff = Buffer::New(env, size).ToLocalChecked(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments