mirror of https://github.com/M66B/FairEmail.git
Check S/MIME sender case insensitive
This commit is contained in:
parent
d79b38dd7b
commit
d88abeaab5
|
@ -4592,7 +4592,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
boolean match = false;
|
boolean match = false;
|
||||||
List<String> emails = EntityCertificate.getAltSubjectName(cert);
|
List<String> emails = EntityCertificate.getAltSubjectName(cert);
|
||||||
for (String email : emails)
|
for (String email : emails)
|
||||||
if (Objects.equals(sender, email)) {
|
if (email.equalsIgnoreCase(sender)) {
|
||||||
match = true;
|
match = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue