aboutsummaryrefslogtreecommitdiff
path: root/crypto/des/read_pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/read_pwd.c')
-rw-r--r--crypto/des/read_pwd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c
index ffc458a..9ad8f51 100644
--- a/crypto/des/read_pwd.c
+++ b/crypto/des/read_pwd.c
@@ -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;