summaryrefslogtreecommitdiffstats
path: root/test/exptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/exptest.c')
-rw-r--r--test/exptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exptest.c b/test/exptest.c
index cde4d6bc45..a327773ec4 100644
--- a/test/exptest.c
+++ b/test/exptest.c
@@ -49,7 +49,7 @@ static int test_mod_exp_zero(void)
BIGNUM *r = NULL;
BN_ULONG one_word = 1;
BN_CTX *ctx = BN_CTX_new();
- int ret = 1, failed = 0;
+ int ret = 0, failed = 0;
if (!TEST_ptr(m = BN_new())
|| !TEST_ptr(a = BN_new())