From af8e84d71194810f8093da603d755c9f305f31fc Mon Sep 17 00:00:00 2001 From: Noah Clements Date: Thu, 27 Oct 2022 16:56:51 -0300 Subject: [PATCH] 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 --- client/src/cmdhfemrtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfemrtd.c b/client/src/cmdhfemrtd.c index f68f01655..d22df2459 100644 --- a/client/src/cmdhfemrtd.c +++ b/client/src/cmdhfemrtd.c @@ -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")); }