aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/hmac
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-28 18:56:18 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-28 18:56:18 +0000
commitdd5463333966c46f6a40df2cac53ab21962f303f (patch)
tree49fe8f9caa9e14e79b387d653050ede2f2efc457 /crypto/hmac
parent6a99f544181db0e9c62ee398fdefadc21113157a (diff)
downloadopenssl-dd5463333966c46f6a40df2cac53ab21962f303f.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/hmac')
-rw-r--r--crypto/hmac/hmactest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/hmac/hmactest.c b/crypto/hmac/hmactest.c
index 4b56b8ee13..3bc476b9c7 100644
--- a/crypto/hmac/hmactest.c
+++ b/crypto/hmac/hmactest.c
@@ -60,6 +60,8 @@
#include <string.h>
#include <stdlib.h>
+#include "../e_os.h"
+
#ifdef NO_HMAC
int main(int argc, char *argv[])
{
@@ -143,7 +145,7 @@ int main(int argc, char *argv[])
else
printf("test %d ok\n",i);
}
- exit(err);
+ EXIT(err);
return(0);
}