Handle updated signature of PublicKeyRejected
Bug: 337846185
Change-Id: I7fc25b90c560abacfb8df7be113c347d2a0f7a1f
Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
diff --git a/guest/pvmfw/avb/tests/api_test.rs b/guest/pvmfw/avb/tests/api_test.rs
index 0ed0279..23e05d4 100644
--- a/guest/pvmfw/avb/tests/api_test.rs
+++ b/guest/pvmfw/avb/tests/api_test.rs
@@ -190,7 +190,7 @@
&load_latest_signed_kernel()?,
&load_latest_initrd_normal()?,
/* trusted_public_key= */ &[0u8; 0],
- SlotVerifyError::PublicKeyRejected.into(),
+ SlotVerifyError::PublicKeyRejected(None).into(),
)
}
@@ -200,7 +200,7 @@
&load_latest_signed_kernel()?,
&load_latest_initrd_normal()?,
/* trusted_public_key= */ &[0u8; 512],
- SlotVerifyError::PublicKeyRejected.into(),
+ SlotVerifyError::PublicKeyRejected(None).into(),
)
}
@@ -210,7 +210,7 @@
&load_latest_signed_kernel()?,
&load_latest_initrd_normal()?,
&fs::read(PUBLIC_KEY_RSA2048_PATH)?,
- SlotVerifyError::PublicKeyRejected.into(),
+ SlotVerifyError::PublicKeyRejected(None).into(),
)
}