Skip the correct number of tests if SM2 is disabled

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)
This commit is contained in:
Matt Caswell 2019-04-03 09:44:41 +01:00
parent 2a2bc6fc12
commit fd3a904636

View 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