Fixed "Residency Permit" Output
Bug discovered while scanning Swedish Residency Permit, resulted in document type of "German Residency Permit". Fixed for better accuracy. Signed-off-by: Noah Clements <noah.clements@unb.ca>
This commit is contained in:
1 parent
74c5e6df37
commit
af8e84d711
1 file changed
+1
-1
@@ -1345,7 +1345,7 @@ static int emrtd_print_ef_dg1_info(uint8_t *data, size_t datalen) {
|
||||
} else if (mrz[0] == 'P') {
|
||||
PrintAndLogEx(SUCCESS, "Document Type.........: " _YELLOW_("Passport"));
|
||||
} else if (mrz[0] == 'A') {
|
||||
PrintAndLogEx(SUCCESS, "Document Type.........: " _YELLOW_("German Residency Permit"));
|
||||
PrintAndLogEx(SUCCESS, "Document Type.........: " _YELLOW_("Residency Permit"));
|
||||
} else {
|
||||
PrintAndLogEx(SUCCESS, "Document Type.........: " _YELLOW_("Unknown"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user