mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-07 05:15:43 +01:00
Fixed key factory algorithm
This commit is contained in:
@@ -649,7 +649,7 @@ public class EmailService implements AutoCloseable {
|
||||
KeyStore ks = KeyStore.getInstance("AndroidCAStore");
|
||||
ks.load(null, null);
|
||||
|
||||
KeyManagerFactory kmf = KeyManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
|
||||
KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
|
||||
kmf.init(ks, null);
|
||||
km = kmf.getKeyManagers();
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user