Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.6.3
-
None
Description
Line 191 and below:
X509Certificate[] foundCerts = secRef.getX509IssuerSerial(crypto);
if (foundCerts != null) {
certs = new X509Certificate[]
}
Should be:
X509Certificate[] foundCerts = secRef.getX509IssuerSerial(crypto);
if (foundCerts != null && foundCerts.length > 0) {
certs = new X509Certificate[]{foundCerts[0]}
;
}