Merge "On-device signing: reject everything that's not a regular file/dir."
diff --git a/ondevice-signing/KeystoreHmacKey.cpp b/ondevice-signing/KeystoreHmacKey.cpp
index d917501..09677d7 100644
--- a/ondevice-signing/KeystoreHmacKey.cpp
+++ b/ondevice-signing/KeystoreHmacKey.cpp
@@ -260,7 +260,7 @@
}
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;
}