diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-25 18:19:08 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-25 18:19:08 +0000 |
commit | cfa46c0e00c7624eb045213ad70d76d3d9099b96 (patch) | |
tree | 85a1c3c10e5092efd44993ffc0c6e4b054b6f938 /crypto/nss_util.h | |
parent | 4195cfcfa736764b09eecedbcef1fda9f1654aec (diff) | |
download | chromium_src-cfa46c0e00c7624eb045213ad70d76d3d9099b96.zip chromium_src-cfa46c0e00c7624eb045213ad70d76d3d9099b96.tar.gz chromium_src-cfa46c0e00c7624eb045213ad70d76d3d9099b96.tar.bz2 |
Fixing FindFromPublicKeyInfo so that it searches the "Public" NSS database
if it doesn't find the requested key in the "Private" NSS database.
This fixes the ownership process because the ownership key is created
in the public database because that needs to happen before the TPM is
owned and available (and it's not really all that sensitive to begin
with).
BUG=chromium-os:15645
TEST=Built a new recovery image, wiped a device with it and verified
that I was able to sign in as a new user and add users and forget
networks. It also showed me as the owner of the device.
Review URL: http://codereview.chromium.org/7066032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/nss_util.h')
-rw-r--r-- | crypto/nss_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/nss_util.h b/crypto/nss_util.h index 3ed79fe..c350c93 100644 --- a/crypto/nss_util.h +++ b/crypto/nss_util.h @@ -86,7 +86,7 @@ bool CheckNSSVersion(const char* version); // GetPublicNSSKeySlot(). void OpenPersistentNSSDB(); -// A delegate class that we can use it to access the cros API for +// A delegate class that we can use to access the cros API for // communication with cryptohomed and the TPM. class TPMTokenInfoDelegate { public: |