This commit is contained in:
merlokk committed 2021-07-31 10:55:21 +03:00
1 parent de566068b7
commit e4eff3c40f
1 file changed
+2 -2
+2 -2
View File
@@ -773,11 +773,11 @@ int DesfireSelectAID(DesfireContext *ctx, uint8_t *aid1, uint8_t *aid2) {
if (respcode != MFDES_S_OPERATION_OK)
return PM3_EAPDU_FAIL;
DesfireClearSession(ctx);
return PM3_SUCCESS;
}
DesfireClearSession(ctx);
return res;
}