summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-02-05 21:39:20 +0000
committerBodo Möller <bodo@openssl.org>2000-02-05 21:39:20 +0000
commite290c7d4e02887cf3302e2902f08a14b8f1cf883 (patch)
treef2e6a800db51876eca2034c1fc2890b5c2d37b0e
parent29a28ee50321fd43e043a45874dda0b75d32a1c2 (diff)
Correction: openssl.c must get the long version of the apps_startup()
macro
-rw-r--r--apps/apps.h2
-rw-r--r--apps/openssl.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/apps.h b/apps/apps.h
index 51733d7e0e..d2da5d196d 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -113,7 +113,7 @@ extern BIO *bio_err;
#define do_pipe_sig()
#endif
-#if defined(MONOLITH)
+#if defined(MONOLITH) && !defined(OPENSSL_C)
# define apps_startup() do_pipe_sig()
#else
# if defined(MSDOS) || defined(WIN16) || defined(WIN32)
diff --git a/apps/openssl.c b/apps/openssl.c
index 6b48f22e94..748c6ce71a 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -71,6 +71,7 @@
#include <openssl/pem.h>
#include <openssl/ssl.h>
#define USE_SOCKETS /* needed for the _O_BINARY defs in the MS world */
+#define OPENSSL_C /* tells apps.h to use complete apps_startup() */
#include "apps.h"
#include "progs.h"
#include "s_apps.h"