We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f81fb4 commit a226a47Copy full SHA for a226a47
jdk/src/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java
@@ -873,9 +873,13 @@ public synchronized Collection<X509CRL> engineGetCRLs(CRLSelector selector)
873
} catch (IllegalArgumentException e) {
874
continue;
875
}
876
- } else {
+ } else if (nameObject instanceof String) {
877
issuerName = (String)nameObject;
878
+ } else {
879
+ throw new CertStoreException(
880
+ "unrecognized issuerName: must be String or byte[]");
881
882
+
883
// If all we want is CA certs, try to get the (probably shorter) ARL
884
Collection<X509CRL> entryCRLs = Collections.emptySet();
885
if (certChecking == null || certChecking.getBasicConstraints() != -1) {
0 commit comments