Skip to content

Commit

Permalink
Fix oath crash.
Browse files Browse the repository at this point in the history
Signed-off-by: Pol Henarejos <[email protected]>
  • Loading branch information
polhenarejos committed Mar 13, 2024
1 parent 82ed96b commit f3f34cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fido/oath.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ int cmd_calculate() {
return SW_DATA_INVALID();
}
asn1_ctx_t ctxe;
asn1_ctx_init(file_get_data(ef), file_get_size(ef), &ctxi);
asn1_ctx_init(file_get_data(ef), file_get_size(ef), &ctxe);
if (asn1_find_tag(&ctxe, TAG_KEY, &key) == false) {
return SW_INCORRECT_PARAMS();
}
Expand Down

0 comments on commit f3f34cf

Please sign in to comment.