summaryrefslogtreecommitdiff
path: root/source3/tests/crypttest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests/crypttest.c')
-rw-r--r--source3/tests/crypttest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/tests/crypttest.c b/source3/tests/crypttest.c
index efee2e593d..8bed1c74d1 100644
--- a/source3/tests/crypttest.c
+++ b/source3/tests/crypttest.c
@@ -814,7 +814,7 @@ main()
if((strcmp(c_out1, expected_out) != 0) &&
(strcmp(c_out2, expected_out) == 0))
- exit(1);
+ return 1;
#ifdef HAVE_BIGCRYPT
/*
@@ -843,10 +843,10 @@ main()
if((strcmp(big_c_out1, big_expected_out) != 0) &&
(strcmp(big_c_out2, big_expected_out) == 0))
- exit(1);
+ return 1;
}
#endif
- exit(0);
+ return 0;
}