aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man1/openssl-dsa.pod.in
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2022-08-26 20:40:48 +0200
committerDr. David von Oheimb <dev@ddvo.net>2023-03-14 17:26:49 +0100
commit0e89b396197f75993c8d64c07b4af6aa2d97e2af (patch)
treea79eb907eefb1c1cd5a84891564511e8e5f6879b /doc/man1/openssl-dsa.pod.in
parentb7cc2d2f295efc342cd46e7e59f93e0ac0472dc0 (diff)
downloadopenssl-0e89b396197f75993c8d64c07b4af6aa2d97e2af.tar.gz
apps/x509 etc.: allow private key input when public key is expected
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/19076)
Diffstat (limited to 'doc/man1/openssl-dsa.pod.in')
-rw-r--r--doc/man1/openssl-dsa.pod.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/man1/openssl-dsa.pod.in b/doc/man1/openssl-dsa.pod.in
index 6d15e950b9..cdcbbc206c 100644
--- a/doc/man1/openssl-dsa.pod.in
+++ b/doc/man1/openssl-dsa.pod.in
@@ -115,8 +115,9 @@ This option prints out the value of the public key component of the key.
=item B<-pubin>
-By default, a private key is read from the input file. With this option a
-public key is read instead.
+By default, a private key is read from the input.
+With this option a public key is read instead.
+If the input contains no public key but a private key, its public part is used.
=item B<-pubout>