mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 08:23:24 +00:00
Always include signature certs as intermediate certs
This commit is contained in:
parent
99b723f2a6
commit
f9bae1db72
1 changed files with 1 additions and 2 deletions
|
@ -5392,7 +5392,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
target.setCertificate(cert);
|
||||
|
||||
// Load/store intermediate certificates
|
||||
List<X509Certificate> local = new ArrayList<>();
|
||||
List<X509Certificate> local = new ArrayList<>(certs);
|
||||
try {
|
||||
List<EntityCertificate> ecs = db.certificate().getIntermediateCertificate();
|
||||
for (EntityCertificate ec : ecs)
|
||||
|
@ -5421,7 +5421,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
local = certs;
|
||||
}
|
||||
|
||||
// Intermediate certificates
|
||||
|
|
Loading…
Reference in a new issue