Always include signature certs as intermediate certs

pull/177/head
M66B 5 years ago
parent 99b723f2a6
commit f9bae1db72

@ -5392,7 +5392,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
target.setCertificate(cert); target.setCertificate(cert);
// Load/store intermediate certificates // Load/store intermediate certificates
List<X509Certificate> local = new ArrayList<>(); List<X509Certificate> local = new ArrayList<>(certs);
try { try {
List<EntityCertificate> ecs = db.certificate().getIntermediateCertificate(); List<EntityCertificate> ecs = db.certificate().getIntermediateCertificate();
for (EntityCertificate ec : ecs) for (EntityCertificate ec : ecs)
@ -5421,7 +5421,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
} }
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e(ex); Log.e(ex);
local = certs;
} }
// Intermediate certificates // Intermediate certificates

Loading…
Cancel
Save