We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a496e64 commit 8afde43Copy full SHA for 8afde43
src/main/java/de/rub/nds/tlsscanner/trust/TrustAnchorManager.java
@@ -30,6 +30,7 @@
30
import java.util.LinkedList;
31
import java.util.List;
32
import java.util.Set;
33
+import java.util.TreeSet;
34
import javax.security.auth.x500.X500Principal;
35
import org.apache.logging.log4j.LogManager;
36
import org.apache.logging.log4j.Logger;
@@ -135,7 +136,7 @@ private Set<TrustAnchor> getFullTrustAnchorSet() {
135
136
} catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException | InvalidAlgorithmParameterException ex) {
137
LOGGER.error("Could not build TrustAnchorSet", ex);
138
}
- return null;
139
+ return new HashSet<>();
140
141
142
public Set<TrustAnchor> getTrustAnchorSet() {
0 commit comments