summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-01-04 09:34:42 +0100
committerRichard Levitte <levitte@openssl.org>2017-02-16 16:40:29 +0100
commit4b74b511131cf6703c82c25656bac7058d8ebe2f (patch)
tree98f46f601ce7f4ff7efac432e531b14ef72b1fb1 /test
parentddc311f1d345d07d8657b4538ca32cba864e7461 (diff)
Don't run MSBLOB conversion tests when RSA or DSA are disabled
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2174) (cherry picked from commit d8594555ffaf98ada08b26ce3d1138f16bc029c5)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/15-test_rsa.t6
1 files changed, 6 insertions, 0 deletions
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");