EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() will
authorRichard Levitte <levitte@openssl.org>
Thu, 19 Jun 2003 16:56:19 +0000 (16:56 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 19 Jun 2003 16:56:19 +0000 (16:56 +0000)
take care of returning if necessary.

e_os.h

diff --git a/e_os.h b/e_os.h
index 9eb6c1ed5e1bc692435c41e1da1019c9caf33cc1..3800bfd75fbd2d357d9915fd9d4f2749558935cc 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -250,7 +250,7 @@ extern "C" {
 #    define EXIT(n) _wsetexit(_WINEXITNOPERSIST)
 #    define OPENSSL_EXIT(n) do { if (n == 0) EXIT(n); return(n); } while(0)
 #  else
-#    define EXIT(n) return(n)
+#    define EXIT(n) exit(n)
 #  endif
 #  define LIST_SEPARATOR_CHAR ';'
 #  ifndef X_OK