From: Pauli Date: Wed, 12 May 2021 05:19:54 +0000 (+1000) Subject: doc: remove references to undepreciated commands being deprecated. X-Git-Tag: openssl-3.0.0-alpha17~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ba3e350fd15c133a172095f67e6e0c99ab9b410;p=thirdparty%2Fopenssl.git doc: remove references to undepreciated commands being deprecated. The dsa, ec, ecparam, and rsa manual pages refer to themselves are being deprecated which they aren't. Address this and add a note pointing to the pkey command equivalents albeit without recommending it. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15239) --- diff --git a/doc/man1/openssl-dsa.pod.in b/doc/man1/openssl-dsa.pod.in index b17b49ad0fc..68ce5f319cd 100644 --- a/doc/man1/openssl-dsa.pod.in +++ b/doc/man1/openssl-dsa.pod.in @@ -129,10 +129,13 @@ a public key. =back +The L command is capable of performing all the operations +this command can, as well as supporting other public key types. + =head1 EXAMPLES -Examples equivalent to these can be found in the documentation for the -non-deprecated L command. +The documentation for the L command contains examples +equivalent to the ones listed here. To remove the pass phrase on a DSA private key: diff --git a/doc/man1/openssl-ec.pod.in b/doc/man1/openssl-ec.pod.in index b3aabcb41af..479485cc801 100644 --- a/doc/man1/openssl-ec.pod.in +++ b/doc/man1/openssl-ec.pod.in @@ -147,10 +147,13 @@ This option checks the consistency of an EC private or public key. =back +The L command is capable of performing all the operations +this command can, as well as supporting other public key types. + =head1 EXAMPLES -Examples equivalent to these can be found in the documentation for the -non-deprecated L command. +The documentation for the L command contains examples +equivalent to the ones listed here. To encrypt a private key using triple DES: diff --git a/doc/man1/openssl-ecparam.pod.in b/doc/man1/openssl-ecparam.pod.in index 2f0968c3113..e0bdb75cf34 100644 --- a/doc/man1/openssl-ecparam.pod.in +++ b/doc/man1/openssl-ecparam.pod.in @@ -129,10 +129,14 @@ This option will generate an EC private key using the specified parameters. =back +The L and L commands are capable +of performing all the operations this command can, as well as supporting +other public key types. + =head1 EXAMPLES -Examples equivalent to these can be found in the documentation for the -non-deprecated L and L commands. +The documentation for the L and L +commands contains examples equivalent to the ones listed here. To create EC parameters with the group 'prime192v1': diff --git a/doc/man1/openssl-rsa.pod.in b/doc/man1/openssl-rsa.pod.in index d67a0f64bbe..fab6408f148 100644 --- a/doc/man1/openssl-rsa.pod.in +++ b/doc/man1/openssl-rsa.pod.in @@ -57,7 +57,6 @@ various forms and their components printed out. Print out a usage message. - =item B<-inform> B|B|B|B The key input format; unspecified by default. @@ -140,10 +139,15 @@ Like B<-pubin> and B<-pubout> except B format is used instead. =back +=head1 NOTES + +The L command is capable of performing all the operations +this command can, as well as supporting other public key types. + =head1 EXAMPLES -Examples equivalent to these can be found in the documentation for the -non-deprecated L command. +The documentation for the L command contains examples +equivalent to the ones listed here. To remove the pass phrase on an RSA private key: