< prev index next >
test/sun/security/tools/jarsigner/Warning.java
Print this page
rev 16540 : 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
@@ -197,11 +197,11 @@
for (String s: more) {
args += " " + s;
}
String cert = run("keytool", args, req)
.shouldHaveExitValue(0).getStdout();
- run("keytool", "-import -alias " + alias, cert).shouldHaveExitValue(0);
+ run("keytool", "-import -noprompt -alias " + alias, cert).shouldHaveExitValue(0);
}
// Runs a java tool with command line arguments
static OutputAnalyzer run(String command, String args)
throws Exception {
< prev index next >