summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/apps.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Provide option types for binary AND, binary OR and silently discarding anjsing2015-01-011-1/+4
| | | | option.
* Provide an option type that allows for a callback function to consume anjsing2014-12-281-1/+3
| | | | | arbitrary number of arguments. This will allow for more complex option handling as required by some of the openssl(1) applications.
* Provide a mechanism for option parsing to return the number of argumentsjsing2014-12-281-2/+3
| | | | | that it has consumed. This allows for the handling of multiple unnamed arguments, including lists of filenames.
* Provide two different function pointers for option function callbacks. Thisjsing2014-12-281-2/+3
| | | | | allows for simpler code in the common cases and will allow for further extension to support the complex cases.
* unifdef OPENSSL_NO_NEXTPROTONEGjsing2014-12-141-3/+1
|
* More OPENSSL_NO_TLSEXT clean up.jsing2014-11-071-3/+3
|
* Move the callback function pointer outside the opt union so that the optionjsing2014-08-301-2/+3
| | | | | 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/+3
|
* Add option handling for ordered flags.jsing2014-08-281-1/+2
|
* Add option handling for input/output formats.jsing2014-08-281-1/+2
|
* Add an option type that handles argument to integer conversion.jsing2014-08-271-1/+2
|
* Implement table-driven option parsing that allows an application tojsing2014-08-271-1/+21
| | | | | | | | | | | | | | | | | 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/+285
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@