diff options
author | Matt Caswell <matt@openssl.org> | 2020-10-14 18:12:38 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-27 12:04:54 +0100 |
commit | 4d8e8a2d3781b6ca7c453492ee8e06885c812e73 (patch) | |
tree | dd9caaffb3fa4882cc7ed41fdca57405e3251408 /test/recipes/04-test_encoder_decoder_legacy.t | |
parent | Deprecate EVP_PKEY_assign_DH and other similar macros (diff) | |
download | openssl-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.t | 6 |
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")); |