提交 5ad4fdce 编写于 作者: R Rich Salz

RT3548: Remove unsupported platforms.

This commit removes MPE/iX
Reviewed-by: NAndy Polyakov <appro@openssl.org>
上级 67472bd8
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
BEOS and BEOS_R5 BEOS and BEOS_R5
NeXT NeXT
SUNOS SUNOS
MPE/iX
[Rich Salz] [Rich Salz]
*) Experimental support for a new, fast, unbiased prime candidate generator, *) Experimental support for a new, fast, unbiased prime candidate generator,
......
...@@ -269,7 +269,7 @@ static int init_client_ip(int *sock, const unsigned char ip[4], int port, ...@@ -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 (s == INVALID_SOCKET) { perror("socket"); return(0); }
#if defined(SO_KEEPALIVE) && !defined(OPENSSL_SYS_MPE) #if defined(SO_KEEPALIVE)
if (type == SOCK_STREAM) if (type == SOCK_STREAM)
{ {
i=0; i=0;
......
...@@ -236,7 +236,7 @@ static int conn_state(BIO *b, BIO_CONNECT *c) ...@@ -236,7 +236,7 @@ static int conn_state(BIO *b, BIO_CONNECT *c)
} }
c->state=BIO_CONN_S_CONNECT; c->state=BIO_CONN_S_CONNECT;
#if defined(SO_KEEPALIVE) && !defined(OPENSSL_SYS_MPE) #if defined(SO_KEEPALIVE)
i=1; i=1;
i=setsockopt(b->num,SOL_SOCKET,SO_KEEPALIVE,(char *)&i,sizeof(i)); i=setsockopt(b->num,SOL_SOCKET,SO_KEEPALIVE,(char *)&i,sizeof(i));
if (i < 0) if (i < 0)
......
...@@ -289,9 +289,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt, ...@@ -289,9 +289,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
#elif defined(OPENSSL_SYS_VXWORKS) #elif defined(OPENSSL_SYS_VXWORKS)
tty=stdin; tty=stdin;
#else #else
#ifndef OPENSSL_SYS_MPE
if ((tty=fopen("/dev/tty","r")) == NULL) if ((tty=fopen("/dev/tty","r")) == NULL)
#endif
tty=stdin; tty=stdin;
#endif #endif
...@@ -332,12 +330,8 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt, ...@@ -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 defined(TTY_set) && !defined(OPENSSL_SYS_VMS)
if (is_a_tty && (TTY_set(fileno(tty),&tty_new) == -1)) 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); return(-1);
#endif #endif
#endif
#ifdef OPENSSL_SYS_VMS #ifdef OPENSSL_SYS_VMS
tty_new[0] = tty_orig[0]; tty_new[0] = tty_orig[0];
tty_new[1] = tty_orig[1] | TT$M_NOECHO; tty_new[1] = tty_orig[1] | TT$M_NOECHO;
......
...@@ -421,9 +421,6 @@ static __inline unsigned int _strlen31(const char *str) ...@@ -421,9 +421,6 @@ static __inline unsigned int _strlen31(const char *str)
# else # else
/* !defined VMS */ /* !defined VMS */
# ifdef OPENSSL_SYS_MPE
# define NO_SYS_PARAM_H
# endif
# ifdef OPENSSL_UNISTD # ifdef OPENSSL_UNISTD
# include OPENSSL_UNISTD # include OPENSSL_UNISTD
# else # else
...@@ -527,8 +524,6 @@ static __inline unsigned int _strlen31(const char *str) ...@@ -527,8 +524,6 @@ static __inline unsigned int _strlen31(const char *str)
# endif # endif
# ifdef OPENSSL_SYS_VXWORKS # ifdef OPENSSL_SYS_VXWORKS
# include <time.h> # include <time.h>
# elif !defined(OPENSSL_SYS_MPE)
# include <sys/time.h> /* Needed under linux for FD_XXX */
# endif # endif
# include <netdb.h> # include <netdb.h>
......
...@@ -156,9 +156,6 @@ extern "C" { ...@@ -156,9 +156,6 @@ extern "C" {
# if defined(linux) || defined(__linux__) || defined(OPENSSL_SYSNAME_LINUX) # if defined(linux) || defined(__linux__) || defined(OPENSSL_SYSNAME_LINUX)
# define OPENSSL_SYS_LINUX # define OPENSSL_SYS_LINUX
# endif # endif
# ifdef OPENSSL_SYSNAME_MPE
# define OPENSSL_SYS_MPE
# endif
# ifdef OPENSSL_SYSNAME_SNI # ifdef OPENSSL_SYSNAME_SNI
# define OPENSSL_SYS_SNI # define OPENSSL_SYS_SNI
# endif # endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册