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

This commit is contained in:
Martijn Coenen 2021-06-29 11:29:24 +00:00 committed by Gerrit Code Review
commit d2dede4e7b

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;
}