forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear the CertID of a network if no valid cert exists.
The old behavior of the ClientCertResolver was that a non-empty Cert/KeyID is never cleared. However, this lead to other code handling as if the network was correctly configured even if that Cert/KeyID didn't point to a valid cert anymore. If a cert is available, the behavior will not change: the resolver always writes the id of the best fitting certificate. The new behavior is, that if no certificate matching the network's cert pattern is found, then the Cert/KeyID is cleared. Accordingly, this leads to the Enrollment Dialog correctly popping up. BUG=390914 Review URL: https://codereview.chromium.org/362323004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281238 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
pneubeck@chromium.org
committed
Jul 3, 2014
1 parent
54495f4
commit 1e042d7
Showing
3 changed files
with
64 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters