mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 23:43:07 +00:00
Fixed key factory algorithm
This commit is contained in:
parent
2ffbcd3500
commit
f82aca7b51
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue