aboutsummaryrefslogtreecommitdiffstats
path: root/test/sm2_internal_test.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2018-06-21 08:07:48 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2018-06-22 14:55:28 +0200
commit09fb65d5e413b7b87bf26f01ec441b44a03d4ee2 (patch)
tree3a3b6118d472bd1aa3caf1eb6de3df836598be7d /test/sm2_internal_test.c
parent2e51557bc93f90ca2274230b042acb53cc3a268d (diff)
downloadopenssl-09fb65d5e413b7b87bf26f01ec441b44a03d4ee2.tar.gz
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)
Diffstat (limited to 'test/sm2_internal_test.c')
-rw-r--r--test/sm2_internal_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sm2_internal_test.c b/test/sm2_internal_test.c
index d4ec01e96e..ea8ac7df88 100644
--- a/test/sm2_internal_test.c
+++ b/test/sm2_internal_test.c
@@ -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",