Skip to content

Commit

Permalink
Update src/libopensc/card-piv.c
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Jelen <[email protected]>
  • Loading branch information
frankmorgner and Jakuje authored Apr 5, 2024
1 parent 321e2e6 commit de3c76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libopensc/card-piv.c
Original file line number Diff line number Diff line change
Expand Up @@ -4443,7 +4443,7 @@ piv_yk_get_metadata(sc_card_t *card, u8 slot, u8 *pin_policy, u8 *touch_policy)
if (pin_policy)
*pin_policy = priv->yk_metadata[i].pin_policy;
if (touch_policy)
*pin_policy = priv->yk_metadata[i].touch_policy;
*touch_policy = priv->yk_metadata[i].touch_policy;
}
}

Expand Down

0 comments on commit de3c76c

Please sign in to comment.