summaryrefslogtreecommitdiffstats
path: root/test/evp_extra_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/evp_extra_test.c')
-rw-r--r--test/evp_extra_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index caffdbd53f..3747532ff0 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -2040,7 +2040,7 @@ static int test_EVP_SM2(void)
sizeof(kMsg))))
goto done;
- if (!TEST_true(EVP_PKEY_decrypt_init(cctx)))
+ if (!TEST_int_gt(EVP_PKEY_decrypt_init(cctx), 0))
goto done;
if (!TEST_true(EVP_PKEY_CTX_set_params(cctx, sparams)))