NON_MAIN no longer means anything so remove it, along with APP_INIT.
authorjsing <jsing@openbsd.org>
Fri, 25 Apr 2014 13:56:39 +0000 (13:56 +0000)
committerjsing <jsing@openbsd.org>
Fri, 25 Apr 2014 13:56:39 +0000 (13:56 +0000)
ok miod@

lib/libssl/src/apps/apps.c
lib/libssl/src/apps/s_cb.c
lib/libssl/src/apps/s_socket.c

index d2fc72f..3b7adf3 100644 (file)
 #endif
 #include <openssl/bn.h>
 
-#define NON_MAIN
 #include "apps.h"
-#undef NON_MAIN
 
 
 typedef struct {
@@ -159,8 +157,6 @@ static EVP_PKEY *load_netscape_key(BIO * err, BIO * key, const char *file,
     const char *key_descrip, int format);
 #endif
 
-int app_init(long mesgwin);
-
 int
 str2fmt(char *s)
 {
@@ -273,15 +269,6 @@ chopup_args(ARGS * arg, char *buf, int *argc, char **argv[])
        return (1);
 }
 
-#ifndef APP_INIT
-int
-app_init(long mesgwin)
-{
-       return (1);
-}
-#endif
-
-
 int
 dump_cert_text(BIO * out, X509 * x)
 {
index 362339c..51accf2 100644 (file)
 #include <sys/socket.h>
 #include <netinet/in.h>
 
-#define NON_MAIN
 #include "apps.h"
-#undef NON_MAIN
 #include <openssl/err.h>
 #include <openssl/rand.h>
 #include <openssl/x509.h>
index a44dddb..a7336d6 100644 (file)
@@ -68,9 +68,7 @@
 
 #include <openssl/e_os2.h>
 
-#define NON_MAIN
 #include "apps.h"
-#undef NON_MAIN
 #include "s_apps.h"
 #include <openssl/ssl.h>