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>
Thu, 16 Feb 2017 15:40:29 +0000 (16:40 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2174)
(cherry picked from commit d8594555ffaf98ada08b26ce3d1138f16bc029c5)

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");