mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8294035: Remove null ids checking from keytool -gencrl
Reviewed-by: weijun
This commit is contained in:
parent
8c6d12250b
commit
33d00a77f3
@ -1562,9 +1562,6 @@ public final class Main {
|
||||
|
||||
private void doGenCRL(PrintStream out)
|
||||
throws Exception {
|
||||
if (ids == null) {
|
||||
throw new Exception("Must provide -id when -gencrl");
|
||||
}
|
||||
Certificate signerCert = keyStore.getCertificate(alias);
|
||||
byte[] encoded = signerCert.getEncoded();
|
||||
X509CertImpl signerCertImpl = new X509CertImpl(encoded);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user