Have all tests use EXIT() to exit rather than exit(), since the latter doesn't

always give the expected result on some platforms.
This commit is contained in:
Richard Levitte
2002-11-28 18:54:30 +00:00
parent 6c359479d7
commit 55f78baf32
24 changed files with 105 additions and 60 deletions

View File

@@ -60,6 +60,8 @@
#include <string.h>
#include <stdlib.h>
#include "../e_os.h"
#ifdef OPENSSL_NO_SHA
int main(int argc, char *argv[])
{
@@ -155,7 +157,7 @@ int main(int argc, char *argv[])
}
else
printf("test 3 ok\n");
exit(err);
EXIT(err);
EVP_MD_CTX_cleanup(&c);
return(0);
}