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:
David Blacka 2005-11-06 22:05:54 +00:00
parent 257e08141d
commit fbe70583ba
1 changed files with 7 additions and 1 deletions

View File

@ -194,6 +194,7 @@ public class SignZone
{
salt = base16.fromString(optstr);
}
if ((optstr = cli.getOptionValue('R')) != null)
{
int length = parseInt(optstr, 0);
@ -204,7 +205,12 @@ public class SignZone
random.nextBytes(salt);
}
}
if ((optstr = cli.getOptionValue("iterations")) != null)
{
iterations = parseInt(optstr, iterations);
}
String[] files = cli.getArgs();
if (files.length < 2)