Merge "credstore: Never pass an empty challenge."
This commit is contained in:
commit
e3421680c8
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ Status
|
|||
WritableCredential::personalize(const vector<AccessControlProfileParcel>& accessControlProfiles,
|
||||
const vector<EntryNamespaceParcel>& entryNamespaces,
|
||||
int64_t secureUserId, vector<uint8_t>* _aidl_return) {
|
||||
Status ensureStatus = ensureAttestationCertificateExists({});
|
||||
Status ensureStatus = ensureAttestationCertificateExists({0x00}); // Challenge cannot be empty.
|
||||
if (!ensureStatus.isOk()) {
|
||||
return ensureStatus;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue