Don't run MSBLOB conversion tests when RSA or DSA are disabled
authorRichard Levitte <levitte@openssl.org>
Wed, 4 Jan 2017 08:34:42 +0000 (09:34 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 4 Jan 2017 14:29:03 +0000 (15:29 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2174)

test/recipes/15-test_rsa.t

index a57ce63a903d88b91a2631de01d3c2574265af4c..5988821703d5e9dd00c40c34c59ba4694a55d33c 100644 (file)
@@ -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");