summaryrefslogtreecommitdiffstats
path: root/test/recipes/04-test_encoder_decoder_legacy.t
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-10-14 18:12:38 +0200
committerMatt Caswell <matt@openssl.org>2020-11-27 12:04:54 +0100
commit4d8e8a2d3781b6ca7c453492ee8e06885c812e73 (patch)
treedd9caaffb3fa4882cc7ed41fdca57405e3251408 /test/recipes/04-test_encoder_decoder_legacy.t
parentDeprecate EVP_PKEY_assign_DH and other similar macros (diff)
downloadopenssl-4d8e8a2d3781b6ca7c453492ee8e06885c812e73.tar.xz
openssl-4d8e8a2d3781b6ca7c453492ee8e06885c812e73.zip
Deprecate the DHparams and DHxparams PEM routines
The functions return a DH object and therefore need to be deprecated. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13138)
Diffstat (limited to 'test/recipes/04-test_encoder_decoder_legacy.t')
-rw-r--r--test/recipes/04-test_encoder_decoder_legacy.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/recipes/04-test_encoder_decoder_legacy.t b/test/recipes/04-test_encoder_decoder_legacy.t
index 9881322628..ef252a3766 100644
--- a/test/recipes/04-test_encoder_decoder_legacy.t
+++ b/test/recipes/04-test_encoder_decoder_legacy.t
@@ -11,12 +11,16 @@ use warnings;
use OpenSSL::Test::Simple;
use OpenSSL::Test qw/:DEFAULT srctop_file bldtop_dir/;
+use OpenSSL::Test::Utils;
use Cwd qw(abs_path);
-setup("test_encode_legacy");
+setup("test_encoder_decoder_legacy");
+plan skip_all => "Not available in a no-deprecated build"
+ if disabled("deprecated");
plan tests => 1;
+
$ENV{OPENSSL_MODULES} = abs_path(bldtop_dir("providers"));
$ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "default-and-legacy.cnf"));