Fix negative test result in sm2 test

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6548)
This commit is contained in:
Bernd Edlinger 2018-06-21 08:07:48 +02:00
parent 2e51557bc9
commit 09fb65d5e4

View File

@ -209,7 +209,7 @@ static int test_sm2_crypt(const EC_GROUP *group,
static int sm2_crypt_test(void)
{
int testresult = 1;
int testresult = 0;
EC_GROUP *test_group =
create_EC_group
("8542D69E4C044F18E8B92435BF6FF7DE457283915C45517D722EDB8B08F1DFC3",