Skip to content

Commit

Permalink
Enable cross device attestation (#270)
Browse files Browse the repository at this point in the history
Signed-off-by: Shrikant Temburwar <[email protected]>
Co-authored-by: KiranSukhavasi <[email protected]>
  • Loading branch information
shrikant1407 and KiranSukhavasi authored Feb 1, 2024
1 parent 935de71 commit 9a3024e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fdotypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9a3024e

Please sign in to comment.