Correction: openssl.c must get the long version of the apps_startup()
authorBodo Möller <bodo@openssl.org>
Sat, 5 Feb 2000 21:39:20 +0000 (21:39 +0000)
committerBodo Möller <bodo@openssl.org>
Sat, 5 Feb 2000 21:39:20 +0000 (21:39 +0000)
macro

apps/apps.h
apps/openssl.c

index 51733d7..d2da5d1 100644 (file)
@@ -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)
index 6b48f22..748c6ce 100644 (file)
@@ -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"