diff options
author | levitte <levitte> | 2002-11-28 18:53:51 +0000 |
---|---|---|
committer | levitte <levitte> | 2002-11-28 18:53:51 +0000 |
commit | 04e6c325571e9e5874a7a3be47dac5a157b1ce9a (patch) | |
tree | 4b0015a66bad49659613912051a13035981f15aa /crypto/rc2 | |
parent | f63294d7a6a5c7b4febf60f0b5ead7b940466580 (diff) | |
download | openssl-04e6c325571e9e5874a7a3be47dac5a157b1ce9a.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/rc2')
-rw-r--r-- | crypto/rc2/rc2test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/rc2/rc2test.c b/crypto/rc2/rc2test.c index d9a2a0a1c..b67bafb49 100644 --- a/crypto/rc2/rc2test.c +++ b/crypto/rc2/rc2test.c @@ -63,6 +63,8 @@ #include <string.h> #include <stdlib.h> +#include "../e_os.h" + #ifdef OPENSSL_NO_RC2 int main(int argc, char *argv[]) { @@ -203,7 +205,7 @@ int main(int argc, char *argv[]) printf("ok\n"); #endif - exit(err); + EXIT(err); return(err); } |