From d8594555ffaf98ada08b26ce3d1138f16bc029c5 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 4 Jan 2017 09:34:42 +0100 Subject: [PATCH] Don't run MSBLOB conversion tests when RSA or DSA are disabled Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2174) --- test/recipes/15-test_rsa.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/recipes/15-test_rsa.t b/test/recipes/15-test_rsa.t index a57ce63a90..5988821703 100644 --- a/test/recipes/15-test_rsa.t +++ b/test/recipes/15-test_rsa.t @@ -34,6 +34,12 @@ ok(run(app([ 'openssl', 'rsa', '-check', '-in', srctop_file('test', 'testrsa.pem subtest 'rsa conversions -- private key PKCS#8' => sub { tconversion("rsa", srctop_file("test","testrsa.pem"), "pkey"); }; +} + + SKIP: { + skip "Skipping msblob conversion test", 1 + if disabled("rsa") || disabled("dsa"); + subtest 'rsa conversions -- public key' => sub { tconversion("msb", srctop_file("test","testrsapub.pem"), "rsa", "-pubin", "-pubout"); -- 2.25.1