Skip to content

Commit

Permalink
Revert "Fix: null check ctLogStore (#1223)" (#1224)
Browse files Browse the repository at this point in the history
This reverts commit ef6f28f.
  • Loading branch information
prbprbprb authored Sep 10, 2024
1 parent ef6f28f commit c767cc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/src/main/java/org/conscrypt/TrustManagerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ public TrustManagerImpl(KeyStore keyStore, CertPinManager manager, ConscryptCert
this.ctLogStore = ctLogStore;
this.ctVerifier = new Verifier(ctLogStore);
this.ctPolicy = ctPolicy;
if (ctLogStore != null) {
ctLogStore.setPolicy(ctPolicy);
}
ctLogStore.setPolicy(ctPolicy);
}

@SuppressWarnings("JdkObsolete") // KeyStore#aliases is the only API available
Expand Down

0 comments on commit c767cc4

Please sign in to comment.