Chromium Code Reviews| Index: net/ssl/server_bound_cert_service.cc |
| diff --git a/net/ssl/server_bound_cert_service.cc b/net/ssl/server_bound_cert_service.cc |
| index 61d610b5bb625378973371b49fca4e261f60720c..e32b16955663d8ce7cbc8eaf526308c49b0823c6 100644 |
| --- a/net/ssl/server_bound_cert_service.cc |
| +++ b/net/ssl/server_bound_cert_service.cc |
| @@ -516,9 +516,9 @@ void ServerBoundCertService::GotServerBoundCert( |
| HandleResult(OK, server_identifier, key, cert); |
| return; |
| } |
| - // Async lookup did not find a valid cert. If no request asked to create one, |
| - // return the error directly. |
| - if (!j->second->CreateIfMissing()) { |
| + // Async lookup failed or was missing. Return the error directly, unless the |
|
wtc
2014/06/20 00:21:54
Nit: add "the certificate" after "or".
davidben
2014/06/20 20:05:57
Done.
|
| + // certificate was missing and a request asked to create one. |
| + if (err != ERR_FILE_NOT_FOUND || !j->second->CreateIfMissing()) { |
| HandleResult(err, server_identifier, key, cert); |
| return; |
| } |