summaryrefslogtreecommitdiff
path: root/test/recipes
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-04-20 14:32:21 +0100
committerMatt Caswell <matt@openssl.org>2020-04-21 14:58:52 +0100
commit1269a9a1d1d4ef9051a0965ba2b6ac850460531e (patch)
tree6000c6e56b6787965c2d470002f4537208c0b656 /test/recipes
parent2d3e6d41165ca2f225d500cfbc7dff8714f37f95 (diff)
downloadopenssl-new-1269a9a1d1d4ef9051a0965ba2b6ac850460531e.tar.gz
Fix no-deprecated tests where the GOST engine is present
The GOST test only runs if it detects that the GOST engine is present. This is the case for the run-checker environment. The GOST engine uses some deprecated functions, so we disable that test in a no-deprecated build. Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/11583)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/90-test_gost.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/recipes/90-test_gost.t b/test/recipes/90-test_gost.t
index f2010967a2..fc91340223 100644
--- a/test/recipes/90-test_gost.t
+++ b/test/recipes/90-test_gost.t
@@ -24,6 +24,9 @@ plan skip_all => "TLSv1.3 or TLSv1.2 are disabled in this OpenSSL build"
plan skip_all => "EC is disabled in this OpenSSL build"
if disabled("ec");
+#Gost engine uses some deprecated functions
+plan skip_all => "Deprecated functions are disabled in this OpenSSL build"
+ if disabled("deprecated");
plan skip_all => "No test GOST engine found"
if !$ENV{OPENSSL_GOST_ENGINE_SO};