remove --client-certificate flag
This commit is contained in:
parent
2ddac9352f
commit
919be67cd2
4 changed files with 3 additions and 12 deletions
|
@ -179,11 +179,11 @@ int ImportIntoCertStore(
|
||||||
&imported_certs);
|
&imported_certs);
|
||||||
if (imported_certs.size() > 1) {
|
if (imported_certs.size() > 1) {
|
||||||
auto it = imported_certs.begin();
|
auto it = imported_certs.begin();
|
||||||
++it; // skip first which would be the client certificate.
|
++it; // skip first which would be the client certificate.
|
||||||
for (; it != imported_certs.end(); ++it)
|
for (; it != imported_certs.end(); ++it)
|
||||||
rv &= model->SetCertTrust(it->get(),
|
rv &= model->SetCertTrust(it->get(),
|
||||||
net::CA_CERT,
|
net::CA_CERT,
|
||||||
net::NSSCertDatabase::TRUSTED_SSL);
|
net::NSSCertDatabase::TRUSTED_SSL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -491,7 +491,6 @@ void AppendSwitch(const std::string& switch_string, mate::Arguments* args) {
|
||||||
auto command_line = base::CommandLine::ForCurrentProcess();
|
auto command_line = base::CommandLine::ForCurrentProcess();
|
||||||
|
|
||||||
if (switch_string == atom::switches::kPpapiFlashPath ||
|
if (switch_string == atom::switches::kPpapiFlashPath ||
|
||||||
switch_string == atom::switches::kClientCertificate ||
|
|
||||||
switch_string == switches::kLogNetLog) {
|
switch_string == switches::kLogNetLog) {
|
||||||
base::FilePath path;
|
base::FilePath path;
|
||||||
args->GetNext(&path);
|
args->GetNext(&path);
|
||||||
|
|
|
@ -119,9 +119,6 @@ const char kPpapiFlashPath[] = "ppapi-flash-path";
|
||||||
// Ppapi Flash version.
|
// Ppapi Flash version.
|
||||||
const char kPpapiFlashVersion[] = "ppapi-flash-version";
|
const char kPpapiFlashVersion[] = "ppapi-flash-version";
|
||||||
|
|
||||||
// Path to client certificate.
|
|
||||||
const char kClientCertificate[] = "client-certificate";
|
|
||||||
|
|
||||||
// Disable HTTP cache.
|
// Disable HTTP cache.
|
||||||
const char kDisableHttpCache[] = "disable-http-cache";
|
const char kDisableHttpCache[] = "disable-http-cache";
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,6 @@ namespace switches {
|
||||||
extern const char kEnablePlugins[];
|
extern const char kEnablePlugins[];
|
||||||
extern const char kPpapiFlashPath[];
|
extern const char kPpapiFlashPath[];
|
||||||
extern const char kPpapiFlashVersion[];
|
extern const char kPpapiFlashVersion[];
|
||||||
extern const char kClientCertificate[];
|
|
||||||
extern const char kDisableHttpCache[];
|
extern const char kDisableHttpCache[];
|
||||||
extern const char kRegisterStandardSchemes[];
|
extern const char kRegisterStandardSchemes[];
|
||||||
extern const char kRegisterServiceWorkerSchemes[];
|
extern const char kRegisterServiceWorkerSchemes[];
|
||||||
|
|
|
@ -15,10 +15,6 @@ app.on('ready', function() {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
## --client-certificate=`path`
|
|
||||||
|
|
||||||
Sets the `path` of client certificate file.
|
|
||||||
|
|
||||||
## --ignore-connections-limit=`domains`
|
## --ignore-connections-limit=`domains`
|
||||||
|
|
||||||
Ignore the connections limit for `domains` list separated by `,`.
|
Ignore the connections limit for `domains` list separated by `,`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue