Skip the correct number of tests if SM2 is disabled
authorMatt Caswell <matt@openssl.org>
Wed, 3 Apr 2019 08:44:41 +0000 (09:44 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 4 Apr 2019 15:51:51 +0000 (16:51 +0100)
Fixes no-sm2 (and also no-sm3 and no-ec)

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8650)

test/recipes/25-test_verify.t

index e4939478618b9d8e12cd4a7fc3435e1da0f438b4..96bfd03e2cd05f05d93c658c52baab7001e49fb7 100644 (file)
@@ -375,7 +375,7 @@ SKIP: {
 }
 
 SKIP: {
-    skip "SM2 is not supported by this OpenSSL build", 1
+    skip "SM2 is not supported by this OpenSSL build", 2
              if disabled("sm2");
 
    # Test '-sm2-id' and '-sm2-hex-id'  option