EXIT() may mean return().  That's confusing, so let's have it really mean
exit() in whatever way works for the intended platform, and define
OPENSSL_EXIT() to have the old meaning (the name is of course because
it's only used in the openssl program)
diff --git a/apps/dsa.c b/apps/dsa.c
index 9da1a41..6598871 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -314,6 +314,6 @@
 	if(passin) OPENSSL_free(passin);
 	if(passout) OPENSSL_free(passout);
 	apps_shutdown();
-	EXIT(ret);
+	OPENSSL_EXIT(ret);
 	}
 #endif