diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-28 18:54:30 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-28 18:54:30 +0000 |
commit | 55f78baf32f213301a0e8d6c6e7f40bd3b9857b1 (patch) | |
tree | 1daf577fe941ef129c8657f231b060b786a03d4b /crypto/mdc2 | |
parent | 6c359479d7755e6f228196e17fcdc98a05724d78 (diff) |
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/mdc2')
-rw-r--r-- | crypto/mdc2/mdc2test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/mdc2/mdc2test.c b/crypto/mdc2/mdc2test.c index 6db546025d..c9abe99d92 100644 --- a/crypto/mdc2/mdc2test.c +++ b/crypto/mdc2/mdc2test.c @@ -60,6 +60,8 @@ #include <stdlib.h> #include <string.h> +#include "../e_os.h" + #if defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_MDC2) #define OPENSSL_NO_MDC2 #endif @@ -138,7 +140,7 @@ int main(int argc, char *argv[]) printf("pad2 - ok\n"); EVP_MD_CTX_cleanup(&c); - exit(ret); + EXIT(ret); return(ret); } #endif |