summaryrefslogtreecommitdiffstats
path: root/doc/man1/openssl-pkey.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-pkey.pod.in
parentb7cc2d2f295efc342cd46e7e59f93e0ac0472dc0 (diff)
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-pkey.pod.in')
-rw-r--r--doc/man1/openssl-pkey.pod.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man1/openssl-pkey.pod.in b/doc/man1/openssl-pkey.pod.in
index 34d57f7d14..042862b960 100644
--- a/doc/man1/openssl-pkey.pod.in
+++ b/doc/man1/openssl-pkey.pod.in
@@ -89,7 +89,8 @@ see L<openssl-passphrase-options(1)>.
=item B<-pubin>
By default a private key is read from the input.
-With this option only the public components are read.
+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.
=back