瀏覽代碼

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)
Bernd Edlinger 6 年之前
父節點
當前提交
09fb65d5e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/sm2_internal_test.c

+ 1 - 1
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",