summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* More OPENSSL_NO_TLSEXT clean up.jsing2014-11-071-3/+3
|
* Repair BUF_strdup() breakage.jsing2014-10-161-2/+4
|
* Improve option usage output.jsing2014-09-011-7/+20
| | | | | | | If the option/argument string exceeds the given width, add a hanging indent prior to displaying the description. Also, if the description includes newlines, wrap and indent for each newline so that the indentation is correctly maintained.
* Move the callback function pointer outside the opt union so that the optionjsing2014-08-301-2/+7
| | | | | values are useable by the function. Also provide an option type that calls a function without consuming/passing an argument.
* Add option handling with a callback function for argument processing.jsing2014-08-281-1/+7
|
* Given the usage option name/argument name width a few more characters.jsing2014-08-281-2/+2
|
* Ensure that a format option argument is a known specifier.jsing2014-08-281-2/+10
|
* Add option handling for ordered flags.jsing2014-08-281-1/+6
|
* Add option handling for input/output formats.jsing2014-08-281-1/+6
|
* Add an option type that handles argument to integer conversion.jsing2014-08-271-3/+20
|
* Implement table-driven option parsing that allows an application tojsing2014-08-271-1/+96
| | | | | | | | | | | | | | | | | specify what its valid options are and where it wants them to be stored. This also allows for usage to be generated, almost for free, ensuring that the options and usage are automatically kept in sync. This will allow for a single option parsing implementation, rather than the current one-hand-rolled-option-parsing-and-random-usage-implementation per application. As a starting point, port the openssl(1) rand application to the new option parsing and usage (along with associated code clean up). With input from doug@. ok bcook@ doug@
* Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is notjsing2014-08-261-0/+2220
a system/superuser binary. At the same time, move the source code from its current lib/libssl/src/apps location to a more appropriate home under usr.bin/openssl. ok deraadt@ miod@