openssl/doc/apps
Benjamin Kaduk 21c6c50fc8 GH650: Minor tidying around the ocsp app
The ocsp utility is something of a jack-of-all-trades; most anything
related to the OCSP can be done with it.  In particular, the manual
page calls out that it can be used as either a client or a server
of the protocol, but there are also a few things that it can do
which do not quite fit into either role, such as encoding an OCSP
request but not sending it, printing out a text form of an OCSP
response (or request) from a file akin to the asn1parse utility,
or performing a lookup into the server-side revocation database
without actually sending a request or response.  All three of these
are documented as examples in the manual page, but the documentation
prior to this commit is somewhat misleading, in that when printing
the text form of an OCSP response, the code also attempts to
verify the response, displaying an error message and returning
failure if the response does not verify.  (It is possible that
the response would be able to verify with the given example, since
the default trust roots are used for that verification, but OCSP
responses frequently have alternate certification authorities
that would require passing -CAfile or -CApath for verification.)

Tidy up the documentation by passing -noverify for the case of
converting from binary to textual representation, and also
change a few instances of -respin to -reqin as appropriate, note
that the -url option provides the same functionality as the -host
and -path options, clarify that the example that saves an OCSP
response to a file will also perform verification on that response,
and fix a couple grammar nits in the manual page.

Also remove an always-true conditional for rdb != NULL -- there
are no codepaths in which it could be initialized at the time of
this check.

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2016-02-13 09:12:07 -05:00
..
asn1parse.pod GH628: Add -help to all apps docs. 2016-02-05 11:17:00 -05:00
CA.pl.pod Fix L<> content in manpages 2015-08-21 15:11:50 -04:00
ca.pod commands help cleanup 2016-02-06 14:06:52 -05:00
ciphers.pod update ciphers manual page 2016-02-11 20:54:02 +00:00
cms.pod Deprecate the -issuer_checks debugging option 2016-02-10 12:34:06 -05:00
config.pod SSL configuration module docs 2015-12-22 15:14:14 +00:00
crl.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
crl2pkcs7.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
dgst.pod more doc fixes 2016-02-07 23:14:12 -05:00
dhparam.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
dsa.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
dsaparam.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
ec.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
ecparam.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
enc.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
engine.pod RT4194: Restore old engine parameter parsing. 2016-02-06 09:19:04 -05:00
errstr.pod Rename INIT funtions, deprecate old ones. 2016-02-10 09:37:03 -05:00
gendsa.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
genpkey.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
genrsa.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
nseq.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
ocsp.pod GH650: Minor tidying around the ocsp app 2016-02-13 09:12:07 -05:00
openssl.pod more doc fixes 2016-02-07 23:14:12 -05:00
passwd.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
pkcs7.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
pkcs8.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
pkcs12.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
pkey.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
pkeyparam.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
pkeyutl.pod more doc fixes 2016-02-07 23:14:12 -05:00
rand.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
rehash.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
req.pod RT 3854: Update apps/req 2016-02-12 14:09:26 +01:00
rsa.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
rsautl.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
s_client.pod Deprecate the -issuer_checks debugging option 2016-02-10 12:34:06 -05:00
s_server.pod Deprecate the -issuer_checks debugging option 2016-02-10 12:34:06 -05:00
s_time.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
sess_id.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
smime.pod Deprecate the -issuer_checks debugging option 2016-02-10 12:34:06 -05:00
speed.pod GH628: Add -help to all apps docs. 2016-02-05 11:17:00 -05:00
spkac.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
ts.pod GH628: Add -help to all apps docs. 2016-02-05 11:59:54 -05:00
tsget.pod Remove SSLeay history, etc., from docs 2015-10-28 17:23:51 -04:00
verify.pod Deprecate the -issuer_checks debugging option 2016-02-10 12:34:06 -05:00
version.pod Make it possible to get ENGINESDIR info from OpenSSL_versions 2016-02-10 19:36:48 +01:00
x509.pod GH601: Various spelling fixes. 2016-02-05 15:25:50 -05:00
x509v3_config.pod RT2353: Add ipsec IKE OID 2016-02-02 14:41:06 -05:00