mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-02-08 17:30:30 +01:00
fixing seed
This commit is contained in:
parent
cf2e46b364
commit
dd577a5310
1 changed files with 3 additions and 1 deletions
|
|
@ -333,7 +333,9 @@ crfmoc_cmd_fp_enshure_seed (FpiDeviceCrfpMoc *self, const char* seed, GError **e
|
|||
|
||||
fp_dbg("FPMCU encryption status: %d", status);
|
||||
|
||||
if(status != CRFPMOC_FP_ENC_STATUS_SEED_SET)
|
||||
// I don't know why the encryption status is 5 after using verify. Since it should be 1. It also returns to 1 after using enroll
|
||||
// I am going to assume that 5 means that the seed is set, since setting the seed twice locks the device
|
||||
if(status == 0)
|
||||
{
|
||||
fp_dbg("Seed is not set, setting seed");
|
||||
rv = crfpmoc_cmd_fp_seed (self, seed, error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue