actually use the iterations command-lline option
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@39 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
This commit is contained in:
parent
257e08141d
commit
fbe70583ba
@ -194,6 +194,7 @@ public class SignZone
|
|||||||
{
|
{
|
||||||
salt = base16.fromString(optstr);
|
salt = base16.fromString(optstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((optstr = cli.getOptionValue('R')) != null)
|
if ((optstr = cli.getOptionValue('R')) != null)
|
||||||
{
|
{
|
||||||
int length = parseInt(optstr, 0);
|
int length = parseInt(optstr, 0);
|
||||||
@ -204,7 +205,12 @@ public class SignZone
|
|||||||
random.nextBytes(salt);
|
random.nextBytes(salt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((optstr = cli.getOptionValue("iterations")) != null)
|
||||||
|
{
|
||||||
|
iterations = parseInt(optstr, iterations);
|
||||||
|
}
|
||||||
|
|
||||||
String[] files = cli.getArgs();
|
String[] files = cli.getArgs();
|
||||||
|
|
||||||
if (files.length < 2)
|
if (files.length < 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user