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

e_os.h

diff --git a/e_os.h b/e_os.h
index b601e9333e09efa9ba4375473b4e8f3876b3eac1..4c6e70dffacc407c51655aea8b1527ea78526bf1 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