From: Dr. Stephen Henson <steve@openssl.org>
Date: Thu, 12 May 2016 14:02:04 +0000 (+0100)
Subject: Correct documentation on digest used.
X-Git-Tag: OpenSSL_1_1_0-pre6~849
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0b2d4755d67eece48d1f705daa04de2be651c1ef;p=oweals%2Fopenssl.git

Correct documentation on digest used.

RT#4302

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
---

diff --git a/doc/apps/x509.pod b/doc/apps/x509.pod
index 2dc225bc09..30b770beb7 100644
--- a/doc/apps/x509.pod
+++ b/doc/apps/x509.pod
@@ -112,9 +112,8 @@ the digest to use.
 This affects any signing or display option that uses a message
 digest, such as the B<-fingerprint>, B<-signkey> and B<-CA> options.
 Any digest supported by the OpenSSL B<dgst> command can be used.
-If not specified then SHA1 is used.
-Note that if a DSA key is used for signing, then this flag is ignored
-and SHA1 is used.
+If not specified then SHA1 is used with B<-fingerprint> or
+the default digest for the signing algorithm is used, typically SHA256.
 
 =item B<-engine id>