openac: --out is a mandatory argument.
This commit is contained in:
+3
-2
@@ -491,7 +491,8 @@ int main(int argc, char **argv)
|
|||||||
notAfter = (notAfter == UNDEFINED_TIME) ? time(NULL) + validity : notAfter;
|
notAfter = (notAfter == UNDEFINED_TIME) ? time(NULL) + validity : notAfter;
|
||||||
|
|
||||||
/* build and parse attribute certificate */
|
/* build and parse attribute certificate */
|
||||||
if (userCert != NULL && signerCert != NULL && signerKey != NULL)
|
if (userCert != NULL && signerCert != NULL && signerKey != NULL &&
|
||||||
|
outfile != NULL)
|
||||||
{
|
{
|
||||||
/* read the serial number and increment it by one */
|
/* read the serial number and increment it by one */
|
||||||
serial = read_serial();
|
serial = read_serial();
|
||||||
@@ -523,7 +524,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
usage("some of the mandatory parameters --usercert --cert --key "
|
usage("some of the mandatory parameters --usercert --cert --key --out "
|
||||||
"are missing");
|
"are missing");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user