Always include signature certs as intermediate certs

This commit is contained in:
M66B 2020-03-25 09:57:28 +01:00
parent 99b723f2a6
commit f9bae1db72
1 changed files with 1 additions and 2 deletions

View File

@ -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