summaryrefslogtreecommitdiffstats
path: root/doc/perlvars.pm
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-06-25 03:27:51 +0200
committerRichard Levitte <levitte@openssl.org>2020-07-16 09:12:27 +0200
commit0f221d9c68b005332e21e70e7e841d021dc20498 (patch)
treef3c71e40bf736ed37e067aaf1eb652c2d1e5d365 /doc/perlvars.pm
parentengine: document the engine app as deprecated (diff)
downloadopenssl-0f221d9c68b005332e21e70e7e841d021dc20498.tar.xz
openssl-0f221d9c68b005332e21e70e7e841d021dc20498.zip
apps: document the deprecation of the -engine option
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12226)
Diffstat (limited to 'doc/perlvars.pm')
-rw-r--r--doc/perlvars.pm19
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/perlvars.pm b/doc/perlvars.pm
index 6d77ce77cb..98c348859f 100644
--- a/doc/perlvars.pm
+++ b/doc/perlvars.pm
@@ -8,6 +8,8 @@
# Set some Perl variables for use by util/dofile.pl when processing
# POD files (mainly man1).
+use configdata;
+
# Verify options
$OpenSSL::safe::opt_v_synopsis = ""
. "[B<-allow_proxy_certs>]\n"
@@ -100,12 +102,17 @@ $OpenSSL::safe::opt_provider_item = ""
. "See L<openssl(1)/Provider Options>.";
# Engine option
-$OpenSSL::safe::opt_engine_synopsis = ""
-. "[B<-engine> I<id>]";
-$OpenSSL::safe::opt_engine_item = ""
-. "=item B<-engine> I<id>\n"
-. "\n"
-. "See L<openssl(1)/Engine Options>.";
+$OpenSSL::safe::opt_engine_synopsis = "";
+$OpenSSL::safe::opt_engine_item = "";
+if (!$disabled{"deprecated-3.0"}) {
+ $OpenSSL::safe::opt_engine_synopsis = ""
+ . "[B<-engine> I<id>]";
+ $OpenSSL::safe::opt_engine_item = ""
+ . "=item B<-engine> I<id>\n"
+ . "\n"
+ . "See L<openssl(1)/Engine Options>.\n"
+ . "This option is deprecated.";
+}
# Trusted certs options
$OpenSSL::safe::opt_trust_synopsis = ""