aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ripemd
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-28 18:57:30 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-28 18:57:30 +0000
commit9fa15b6ff88dc33a705fed7fc044639143dd394e (patch)
tree2d87fd300089d3e07915105b66588c0057335a29 /crypto/ripemd
parent9c44ebc1e2da4eb5eedb2888b592b3fb86607643 (diff)
downloadopenssl-9fa15b6ff88dc33a705fed7fc044639143dd394e.tar.gz
Have all tests use EXIT() to exit rather than exit(), since the latter doesn't
always give the expected result on some platforms.
Diffstat (limited to 'crypto/ripemd')
-rw-r--r--crypto/ripemd/rmdtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/ripemd/rmdtest.c b/crypto/ripemd/rmdtest.c
index be1fb8b1f6..d4c709e646 100644
--- a/crypto/ripemd/rmdtest.c
+++ b/crypto/ripemd/rmdtest.c
@@ -60,6 +60,8 @@
#include <string.h>
#include <stdlib.h>
+#include "../e_os.h"
+
#ifdef OPENSSL_NO_RIPEMD
int main(int argc, char *argv[])
{
@@ -127,7 +129,7 @@ int main(int argc, char *argv[])
R++;
P++;
}
- exit(err);
+ EXIT(err);
return(0);
}