Merge "On-device signing: Use correct deleteKey() instance." am: d2dede4e7b

Original change: https://android-review.googlesource.com/c/platform/system/security/+/1748471

Change-Id: I8b39c59d5720f1558614b546f165e1e6bc7174c9
This commit is contained in:
Martijn Coenen 2021-06-29 12:00:12 +00:00 committed by Automerger Merge Worker
commit 61872e9245

View file

@ -260,7 +260,7 @@ Result<void> KeystoreHmacKey::verify(const std::string& message,
}
Result<void> KeystoreHmacKey::deleteKey() const {
auto status = mSecurityLevel->deleteKey(mDescriptor);
auto status = mService->deleteKey(mDescriptor);
if (!status.isOk()) {
return Error() << "Failed to delete HMAC key: " << status;
}