Fix no-deprecated tests where the GOST engine is present
authorMatt Caswell <matt@openssl.org>
Mon, 20 Apr 2020 13:32:21 +0000 (14:32 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 21 Apr 2020 13:58:52 +0000 (14:58 +0100)
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)

test/recipes/90-test_gost.t

index f2010967a2c6fbde2b859f238fc5b40ba6a43afd..fc91340223e84fb0088ffc56595e594b00b051e3 100644 (file)
@@ -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};