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 ee5a23235e..0e500d5481 100644
--- a/source3/tests/crypttest.c
+++ b/source3/tests/crypttest.c
@@ -813,7 +813,7 @@ main()
if((strcmp(c_out1, expected_out) != 0) &&
(strcmp(c_out2, expected_out) == 0))
- return 1;
+ exit(1);
#ifdef HAVE_BIGCRYPT
/*
@@ -842,10 +842,10 @@ main()
if((strcmp(big_c_out1, big_expected_out) != 0) &&
(strcmp(big_c_out2, big_expected_out) == 0))
- return 1;
+ exit(1);
}
#endif
- return 0;
+ exit(0);
}