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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user