Fix building on Linux
This commit is contained in:
parent
97fd383c53
commit
b3d60bfb3a
10 changed files with 28 additions and 24 deletions
|
@ -453,8 +453,8 @@ int ImportIntoCertStore(
|
|||
|
||||
if (!cert_path.empty()) {
|
||||
if (base::ReadFileToString(base::FilePath(cert_path), &file_data)) {
|
||||
auto module = model->cert_db()->GetPublicModule();
|
||||
rv = model->ImportFromPKCS12(module,
|
||||
auto module = model->cert_db()->GetPrivateSlot();
|
||||
rv = model->ImportFromPKCS12(module.get(),
|
||||
file_data,
|
||||
password,
|
||||
true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue