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

View File

@ -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);
@ -205,6 +206,11 @@ public class SignZone
} }
} }
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)