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)
This commit is contained in:
Rich Salz 2019-10-30 23:35:08 -04:00 committed by Richard Levitte
parent b575608507
commit 625c781dc7
29 changed files with 39 additions and 135 deletions

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.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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;