Const ref that message
This commit is contained in:
parent
11f5c942ce
commit
06643e525a
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ typedef base::Callback<void(bool result)> ShowTrustCallback;
|
|||
|
||||
void ShowCertificateTrust(atom::NativeWindow* parent_window,
|
||||
const scoped_refptr<net::X509Certificate>& cert,
|
||||
std::string message,
|
||||
const std::string& message,
|
||||
const ShowTrustCallback& callback);
|
||||
|
||||
} // namespace certificate_trust
|
||||
|
|
|
@ -89,7 +89,7 @@ namespace certificate_trust {
|
|||
|
||||
void ShowCertificateTrust(atom::NativeWindow* parent_window,
|
||||
const scoped_refptr<net::X509Certificate>& cert,
|
||||
std::string message,
|
||||
const std::string& message,
|
||||
const ShowTrustCallback& callback) {
|
||||
auto sec_policy = SecPolicyCreateBasicX509();
|
||||
auto cert_chain = cert->CreateOSCertChainForCert();
|
||||
|
|
Loading…
Reference in a new issue