diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-28 19:54:30 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-28 19:54:30 +0100 |
commit | 55f78baf32f213301a0e8d6c6e7f40bd3b9857b1 (patch) | |
tree | 1daf577fe941ef129c8657f231b060b786a03d4b /crypto/rc5 | |
parent | Make sure EXIT() can always be used as one statement. (diff) | |
download | openssl-55f78baf32f213301a0e8d6c6e7f40bd3b9857b1.tar.xz openssl-55f78baf32f213301a0e8d6c6e7f40bd3b9857b1.zip |
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/rc5')
-rw-r--r-- | crypto/rc5/rc5test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/rc5/rc5test.c b/crypto/rc5/rc5test.c index f1d4c22bbe..ce3d0cc16f 100644 --- a/crypto/rc5/rc5test.c +++ b/crypto/rc5/rc5test.c @@ -63,6 +63,8 @@ #include <string.h> #include <stdlib.h> +#include "../e_os.h" + #ifdef OPENSSL_NO_RC5 int main(int argc, char *argv[]) { @@ -318,7 +320,7 @@ int main(int argc, char *argv[]) } if (err == 0) printf("cbc RC5 ok\n"); - exit(err); + EXIT(err); return(err); } |