Fix example in crl(1) man page
authorJakub Wilk <jwilk@jwilk.net>
Mon, 3 Sep 2018 09:09:51 +0000 (11:09 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 Sep 2018 10:03:41 +0000 (12:03 +0200)
The default input format is PEM, so explicit "-inform DER" is needed to
read DER-encoded CRL.

CLA: trivial

Reviewed-by: Paul Yang <yang.yang@baishancloud.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7094)

(cherry picked from commit 785e614a95a134831f213749332bcf40c4920f69)

doc/apps/crl.pod

index fded3972dd024cdee6635c2d603bcc75e0d52f0b..8207ee9a5c09a8f8f3162009544bd02b46863268 100644 (file)
@@ -120,7 +120,7 @@ Convert a CRL file from PEM to DER:
 
 Output the text form of a DER encoded certificate:
 
- openssl crl -in crl.der -text -noout
+ openssl crl -in crl.der -inform DER -text -noout
 
 =head1 BUGS