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:
Noah Clements 2022-10-27 16:56:51 -03:00 committed by GitHub
parent 74c5e6df37
commit af8e84d711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"));
}