diff options
author | Rich Salz <rsalz@openssl.org> | 2015-01-12 17:29:26 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-01-12 17:30:54 -0500 |
commit | 6d23cf97443bfedf755341b4f2d0d7fce254e020 (patch) | |
tree | ef52ffc0029a579d35439f2dc0ba2deee966ed93 /crypto/des/read_pwd.c | |
parent | 31d1d3741f16bd80ec25f72dcdbf6bbdc5664374 (diff) | |
download | openssl-6d23cf97443bfedf755341b4f2d0d7fce254e020.tar.gz |
RT3548: Remove unsupported platforms
This last one for this ticket. Removes WIN16.
So long, MS_CALLBACK and MS_FAR. We won't miss you.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/des/read_pwd.c')
-rw-r--r-- | crypto/des/read_pwd.c | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c index 9ad8f51f2d..f5f10266a6 100644 --- a/crypto/des/read_pwd.c +++ b/crypto/des/read_pwd.c @@ -77,12 +77,6 @@ /* #define SIGACTION */ /* Define this if you have sigaction() */ -#ifdef WIN16TTY -#undef OPENSSL_SYS_WIN16 -#undef _WINDOWS -#include <graph.h> -#endif - /* 06-Apr-92 Luke Brennan Support for VMS */ #include "des_locl.h" #include "cryptlib.h" @@ -195,7 +189,7 @@ static void read_till_nl(FILE *); static void recsig(int); static void pushsig(void); static void popsig(void); -#if defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_WIN16) +#if defined(OPENSSL_SYS_MSDOS) static int noecho_fgets(char *buf, int size, FILE *tty); #endif #ifdef SIGACTION @@ -225,16 +219,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify) return(0); } -#elif defined(OPENSSL_SYS_WIN16) - -int des_read_pw(char *buf, char *buff, int size, char *prompt, int verify) - { - memset(buf,0,size); - memset(buff,0,size); - return(0); - } - -#else /* !OPENSSL_SYS_WINCE && !OPENSSL_SYS_WIN16 */ +#else /* !OPENSSL_SYS_WINCE */ static void read_till_nl(FILE *in) { @@ -473,11 +458,7 @@ static int noecho_fgets(char *buf, int size, FILE *tty) break; } size--; -#ifdef WIN16TTY - i=_inchar(); -#else i=getch(); -#endif if (i == '\r') i='\n'; *(p++)=i; if (i == '\n') @@ -501,4 +482,4 @@ static int noecho_fgets(char *buf, int size, FILE *tty) return(strlen(buf)); } #endif -#endif /* !OPENSSL_SYS_WINCE && !WIN16 */ +#endif /* !OPENSSL_SYS_WINCE */ |