mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
should be able to set negative offset during cert creation
This commit is contained in:
parent
ce38fd7090
commit
0bc13d686f
@ -2247,14 +2247,8 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* -w warp months */
|
||||
if (certutil.options[opt_OffsetMonths].activated) {
|
||||
if (certutil.options[opt_OffsetMonths].activated)
|
||||
warpmonths = PORT_Atoi(certutil.options[opt_OffsetMonths].arg);
|
||||
if (warpmonths < 0) {
|
||||
PR_fprintf(PR_STDERR, "%s -w: incorrect offset months: \"%s\"\n",
|
||||
progName, certutil.options[opt_OffsetMonths].arg);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* -y public exponent (for RSA) */
|
||||
if (certutil.options[opt_Exponent].activated) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user