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-01-04 15:29:03 +0100
commitd8594555ffaf98ada08b26ce3d1138f16bc029c5 (patch)
tree107a38dcf0371788c90f72e8d27b63b8dd5f7cdb /test
parentaec23ecebdb8101d2b3b8420b54353b2aebc33fc (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)
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");