aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/command.c
Commit message (Collapse)AuthorAgeFilesLines
* pki: Never print more than MAX_LINES of usage summaryTobias Brunner2015-12-161-1/+10
| | | | Print a warning if a registered command exceeds that limit.
* pki: Also check for MAX_COMMANDS when building getopt_long argumentsTobias Brunner2014-06-241-1/+1
| | | | Completes 87e53819a6 and 0a8c399a21.
* pki: When dispatching commands, don't look beyond non-null-terminated arrayMartin Willi2014-03-191-1/+1
|
* pki: Check length of commands array before accessing command in --helpMartin Willi2014-03-191-1/+1
| | | | | | | As --help is counted as command as well, the array is not null-terminated and we have to check for MAX_COMMANDS. Fixes #550.
* pki: Make cmds array static, ensuring that it is zero-initializedMartin Willi2014-02-201-2/+1
| | | | | As pki --help relies on a zero-terminated array, make the actually non-public cmds array static to ensure initialization.
* pki: Make sure no command registers too many optionsTobias Brunner2014-01-231-3/+10
|
* pki: Print a warning if MAX_COMMANDS is too lowTobias Brunner2014-01-231-0/+7
|
* pki: Properly use ?: when defining option arraysTobias Brunner2014-01-231-2/+2
|
* pki: Don't print an error if no arguments are givenTobias Brunner2013-09-131-1/+1
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Avoid overrunning array when registering pki command line optionsTobias Brunner2012-09-281-1/+1
|
* Cache list of plugin names to further simplify its usage.Tobias Brunner2012-01-191-3/+2
| | | | Also helpful for ipsec statusall to avoid having to enumerate plugins.
* Log list of loaded plugins in main PKI help output.Tobias Brunner2012-01-191-0/+8
|
* Added policyConstraints support to pki toolMartin Willi2011-01-051-1/+1
|
* pki --issue/self support permitted/excluded NameConstraintsMartin Willi2011-01-051-1/+1
|
* Added a --signcrl command to the pki utilityMartin Willi2010-05-211-1/+1
|
* Right-align short options in pki usageMartin Willi2009-09-241-7/+5
|
* Use the default debug hook if possibleMartin Willi2009-09-161-1/+1
|
* Handle pki --debug and --options in a generic way for all commandMartin Willi2009-09-151-7/+81
|
* pki tool supports single letter short optionsMartin Willi2009-09-151-6/+30
|
* Use dynamic registration/usage invocation of command typesMartin Willi2009-09-101-27/+44
|
* splitted PKI tool to a file per commandMartin Willi2009-09-101-0/+143