diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-04-19 17:26:19 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-04-19 17:35:57 +0200 |
commit | 81b598ca5fc50bb54ce77cbf4b44f873d2b77dd7 (patch) | |
tree | d6ba669849354ae03ca07c731cb06f97b5166906 /src | |
parent | 2bf1d44f7b1b41777b4bd7957154cba83cb37d69 (diff) | |
download | strongswan-81b598ca5fc50bb54ce77cbf4b44f873d2b77dd7.tar.bz2 strongswan-81b598ca5fc50bb54ce77cbf4b44f873d2b77dd7.tar.xz |
openac: --out is a mandatory argument.
Diffstat (limited to 'src')
-rwxr-xr-x | src/openac/openac.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openac/openac.c b/src/openac/openac.c index e53567511..79b493b5f 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -491,7 +491,8 @@ int main(int argc, char **argv) notAfter = (notAfter == UNDEFINED_TIME) ? time(NULL) + validity : notAfter; /* 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 */ serial = read_serial(); @@ -523,7 +524,7 @@ int main(int argc, char **argv) } else { - usage("some of the mandatory parameters --usercert --cert --key " + usage("some of the mandatory parameters --usercert --cert --key --out " "are missing"); } |