diff options
author | Matt Caswell <matt@openssl.org> | 2018-07-17 11:43:30 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-07-17 11:57:46 +0100 |
commit | 910fff7eb6cb8175fec4535ede09dc871c9895ac (patch) | |
tree | 8e88b65a58c1cef7ff8c814612e265d6e04197da | |
parent | fbe9dafdddc5e4aa7190617d189eeadf2da34a4d (diff) |
Skip the GOST test where appropriate
The GOST ciphers are dynamically loaded via the GOST engine, so we must
be able to support that. The engine also uses DSA and CMS symbols, so we
skip the test on no-dsa or no-cms.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6730)
-rw-r--r-- | test/recipes/90-test_gost.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/recipes/90-test_gost.t b/test/recipes/90-test_gost.t index 00f95af20c..c7bbb4edd8 100644 --- a/test/recipes/90-test_gost.t +++ b/test/recipes/90-test_gost.t @@ -11,8 +11,12 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/; setup("test_gost"); +# The GOST ciphers are dynamically loaded via the GOST engine, so we must be +# able to support that. The engine also uses DSA and CMS symbols, so we skip +# this test on no-dsa or no-cms. plan skip_all => "GOST support is disabled in this OpenSSL build" - if disabled("gost"); + if disabled("gost") || disabled("engine") || disabled("dynamic-engine") + || disabled("dsa") || disabled("cms"); plan skip_all => "TLSv1.3 or TLSv1.2 are disabled in this OpenSSL build" if disabled("tls1_3") || disabled("tls1_2"); |