Fix returning kcv when pin is not provided. It always return 0x0
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -607,6 +607,7 @@ static int cmd_import_dkek() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
memset(res_APDU,0,10);
|
||||||
res_APDU[0] = dkeks;
|
res_APDU[0] = dkeks;
|
||||||
res_APDU[1] = dkeks-current_dkeks;
|
res_APDU[1] = dkeks-current_dkeks;
|
||||||
dkek_kcv(res_APDU+2);
|
dkek_kcv(res_APDU+2);
|
||||||
|
|||||||
Reference in New Issue
Block a user