Browse Source

Use a function to generate do-not-edit comment

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10316)
master
Rich Salz 3 years ago
committed by Richard Levitte
parent
commit
625c781dc7
29 changed files with 39 additions and 135 deletions
  1. +4
    -0
      CHANGES
  2. +1
    -5
      doc/man1/openssl-ca.pod.in
  3. +1
    -5
      doc/man1/openssl-cms.pod.in
  4. +1
    -5
      doc/man1/openssl-crl.pod.in
  5. +1
    -5
      doc/man1/openssl-dgst.pod.in
  6. +1
    -5
      doc/man1/openssl-dhparam.pod.in
  7. +1
    -5
      doc/man1/openssl-dsaparam.pod.in
  8. +1
    -5
      doc/man1/openssl-ecparam.pod.in
  9. +1
    -5
      doc/man1/openssl-enc.pod.in
  10. +1
    -5
      doc/man1/openssl-gendsa.pod.in
  11. +1
    -5
      doc/man1/openssl-genrsa.pod.in
  12. +1
    -5
      doc/man1/openssl-ocsp.pod.in
  13. +1
    -5
      doc/man1/openssl-passwd.pod.in
  14. +1
    -5
      doc/man1/openssl-pkcs12.pod.in
  15. +1
    -5
      doc/man1/openssl-pkcs8.pod.in
  16. +1
    -5
      doc/man1/openssl-pkeyutl.pod.in
  17. +1
    -5
      doc/man1/openssl-rand.pod.in
  18. +1
    -5
      doc/man1/openssl-req.pod.in
  19. +1
    -5
      doc/man1/openssl-rsautl.pod.in
  20. +1
    -5
      doc/man1/openssl-s_client.pod.in
  21. +1
    -5
      doc/man1/openssl-s_server.pod.in
  22. +1
    -5
      doc/man1/openssl-s_time.pod.in
  23. +1
    -5
      doc/man1/openssl-smime.pod.in
  24. +1
    -5
      doc/man1/openssl-speed.pod.in
  25. +1
    -5
      doc/man1/openssl-srp.pod.in
  26. +1
    -5
      doc/man1/openssl-ts.pod.in
  27. +1
    -5
      doc/man1/openssl-verify.pod.in
  28. +1
    -5
      doc/man1/openssl-x509.pod.in
  29. +8
    -0
      doc/perlvars.pm

+ 4
- 0
CHANGES View File

@ -154,6 +154,10 @@
pages for further details.
[Matt Caswell]
*) Most common options (such as -rand/-writerand, TLS version control, etc)
were refactored and point to newly-enhanced descriptions in openssl.pod
[Rich Salz]
*) Over two thousand fixes were made to the documentation, including:
adding missing command flags, better style conformance, documentation
of internals, etc.


+ 1
- 5
doc/man1/openssl-ca.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-cms.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-crl.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-dgst.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-dhparam.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-dsaparam.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-ecparam.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-enc.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-gendsa.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-genrsa.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-ocsp.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-passwd.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-pkcs12.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-pkcs8.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-pkeyutl.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-rand.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-req.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-rsautl.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-s_client.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-s_server.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-s_time.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-smime.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-speed.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-srp.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-ts.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-verify.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 1
- 5
doc/man1/openssl-x509.pod.in View File

@ -1,9 +1,5 @@
=pod
=begin comment
{- join("\n", @autowarntext) -}
=end comment
{- OpenSSL::safe::output_do_not_edit_headers(); -}
=head1 NAME


+ 8
- 0
doc/perlvars.pm View File

@ -130,3 +130,11 @@ $OpenSSL::safe::opt_s_item = ""
. "B<-record_padding> I<padding>, B<-debug_broken_protocol>, B<-no_middlebox>\n"
. "\n"
. "See L<SSL_CONF_cmd(3)/SUPPORTED COMMAND LINE COMMANDS> for details.";
package OpenSSL::safe;
sub output_do_not_edit_headers {
return "\n=begin comment\n\n"
. join("\n", @autowarntext)
. "\n\n=end comment";
}
1;

Loading…
Cancel
Save