From 9a3024e7c910054a8c4c704431bbd6c2e8b77820 Mon Sep 17 00:00:00 2001 From: Shrikant Temburwar Date: Thu, 1 Feb 2024 11:44:26 +0530 Subject: [PATCH] Enable cross device attestation (#270) Signed-off-by: Shrikant Temburwar Co-authored-by: KiranSukhavasi --- lib/fdotypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fdotypes.c b/lib/fdotypes.c index 917cdcae..07bfd206 100644 --- a/lib/fdotypes.c +++ b/lib/fdotypes.c @@ -1323,7 +1323,7 @@ fdo_public_key_t *fdo_public_key_read(fdor_t *fdor) LOG(LOG_ERROR, "Invalid PublicKey: Start array not found\n"); goto err; } - if (!fdor_signed_int(fdor, &pk->pkalg) || pk->pkalg != FDO_PK_ALGO) { + if (!fdor_signed_int(fdor, &pk->pkalg)) { LOG(LOG_ERROR, "Invalid PublicKey: Unable to decode pkType\n"); goto err; }