RT3548: Remove unsupported platforms.
authorRich Salz <rsalz@openssl.org>
Mon, 22 Dec 2014 22:47:28 +0000 (17:47 -0500)
committerRich Salz <rsalz@openssl.org>
Mon, 22 Dec 2014 22:47:28 +0000 (17:47 -0500)
This commit removes MPE/iX

Reviewed-by: Andy Polyakov <appro@openssl.org>
CHANGES
apps/s_socket.c
crypto/bio/bss_conn.c
crypto/des/read_pwd.c
e_os.h
e_os2.h

diff --git a/CHANGES b/CHANGES
index a8f37bef01bf67b195405a79ad093bf9d850350a..4d27975da60b8d646c2d596273a130864165300a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -31,6 +31,7 @@
        BEOS and BEOS_R5
        NeXT
        SUNOS
+       MPE/iX
      [Rich Salz]
 
   *) Experimental support for a new, fast, unbiased prime candidate generator,
index e83baf4e709279dee9a452c990fa276eadb073a7..7edef15c405fc1b43c7bd3642033636e95beeb6a 100644 (file)
@@ -269,7 +269,7 @@ static int init_client_ip(int *sock, const unsigned char ip[4], int port,
                        
        if (s == INVALID_SOCKET) { perror("socket"); return(0); }
 
-#if defined(SO_KEEPALIVE) && !defined(OPENSSL_SYS_MPE)
+#if defined(SO_KEEPALIVE)
        if (type == SOCK_STREAM)
                {
                i=0;
index 91e47e92eb45baf1b93827871dccfc5a388803a3..d2c9695b70ad89dc934d5ae76e426bf9b7c04fcb 100644 (file)
@@ -236,7 +236,7 @@ static int conn_state(BIO *b, BIO_CONNECT *c)
                                }
                        c->state=BIO_CONN_S_CONNECT;
 
-#if defined(SO_KEEPALIVE) && !defined(OPENSSL_SYS_MPE)
+#if defined(SO_KEEPALIVE)
                        i=1;
                        i=setsockopt(b->num,SOL_SOCKET,SO_KEEPALIVE,(char *)&i,sizeof(i));
                        if (i < 0)
index ffc458a9c67371757c3b16bda6bdd94938049aa6..9ad8f51f2d5f161f4bf72bc2c471ab6ff7e5a351 100644 (file)
@@ -289,9 +289,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
 #elif defined(OPENSSL_SYS_VXWORKS)
        tty=stdin;
 #else
-#ifndef OPENSSL_SYS_MPE
        if ((tty=fopen("/dev/tty","r")) == NULL)
-#endif
                tty=stdin;
 #endif
 
@@ -332,12 +330,8 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
 
 #if defined(TTY_set) && !defined(OPENSSL_SYS_VMS)
        if (is_a_tty && (TTY_set(fileno(tty),&tty_new) == -1))
-#ifdef OPENSSL_SYS_MPE 
-               ; /* MPE lies -- echo really has been disabled */
-#else
                return(-1);
 #endif
-#endif
 #ifdef OPENSSL_SYS_VMS
        tty_new[0] = tty_orig[0];
        tty_new[1] = tty_orig[1] | TT$M_NOECHO;
diff --git a/e_os.h b/e_os.h
index 23daaf1a7dce6e72cacbed0b977135cbb76f391a..ec011c8cebeecdce2647a80fe33d8fbe418079af 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -421,9 +421,6 @@ static __inline unsigned int _strlen31(const char *str)
 
 #  else
      /* !defined VMS */
-#    ifdef OPENSSL_SYS_MPE
-#      define NO_SYS_PARAM_H
-#    endif
 #    ifdef OPENSSL_UNISTD
 #      include OPENSSL_UNISTD
 #    else
@@ -527,8 +524,6 @@ static __inline unsigned int _strlen31(const char *str)
 #    endif
 #    ifdef OPENSSL_SYS_VXWORKS
 #      include <time.h> 
-#    elif !defined(OPENSSL_SYS_MPE)
-#      include <sys/time.h> /* Needed under linux for FD_XXX */
 #    endif
 
 #    include <netdb.h>
diff --git a/e_os2.h b/e_os2.h
index 7850169dbe683aa8b1dd08e7bf811256a096e16b..dc6ee2d104b708202422705e6b93101501e1ad38 100644 (file)
--- a/e_os2.h
+++ b/e_os2.h
@@ -156,9 +156,6 @@ extern "C" {
 # if defined(linux) || defined(__linux__) || defined(OPENSSL_SYSNAME_LINUX)
 #  define OPENSSL_SYS_LINUX
 # endif
-# ifdef OPENSSL_SYSNAME_MPE
-#  define OPENSSL_SYS_MPE
-# endif
 # ifdef OPENSSL_SYSNAME_SNI
 #  define OPENSSL_SYS_SNI
 # endif