From: Bodo Möller Date: Mon, 20 Mar 2000 13:39:06 +0000 (+0000) Subject: Document pseudo-commands. X-Git-Tag: OpenSSL_0_9_5a-beta2~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=88220dcb21ecef064dd52d075169d7c16cc822b5;p=oweals%2Fopenssl.git Document pseudo-commands. --- diff --git a/doc/apps/openssl.pod b/doc/apps/openssl.pod index 5576823f6d..2fc61b6c21 100644 --- a/doc/apps/openssl.pod +++ b/doc/apps/openssl.pod @@ -12,6 +12,10 @@ I [ I ] [ I ] +B [ B | B | B ] + +B BI [ I ] + =head1 DESCRIPTION OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL @@ -35,6 +39,22 @@ The B program provides a rich variety of commands (I in the SYNOPSIS above), each of which often has a wealth of options and arguments (I and I in the SYNOPSIS). +The pseudo-commands B, B, +and B output a list (one entry per line) of the names +of all standard commands, message digest commands, or cipher commands, +respectively, that are available in the present B utility. + +The pseudo-command BI tests whether a command of the +specified name is available. If no command named I exists, it +returns 0 (success) and prints BI; otherwise it returns 1 +and prints I. In both cases, the output goes to B and +nothing is printed to B. Additional command line arguments +are always ignored. Since for each cipher there is a command of the +same name, this provides an easy way for shell scripts to test for the +availability of ciphers in the B program. (BI is +not able to detect pseudo-commands such as B, +BI<...>B<-commands>, or BI itself.) + =head2 STANDARD COMMANDS =over 10 @@ -296,7 +316,10 @@ L, L =head1 HISTORY -The openssl(1) document appeared in OpenSSL 0.9.2 +The openssl(1) document appeared in OpenSSL 0.9.2. +The BIB<-commands> pseudo-commands were added in OpenSSL 0.9.3; +the BI pseudo-commands were added in OpenSSL 0.9.5a. +For notes on the availability of other commands, see their individual +manual pages. =cut -