From 3e83e686ba2e21a2d7d991446bc6fedde5ff58c0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 14 Feb 2002 15:37:38 +0000 Subject: Add the configuration target VxWorks. --- crypto/des/read_pwd.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crypto/des/read_pwd.c') diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c index db021dfc37..db623706a7 100644 --- a/crypto/des/read_pwd.c +++ b/crypto/des/read_pwd.c @@ -133,6 +133,12 @@ #define SGTTY #endif +#if defined(OPENSSL_SYS_VSWORKS) +#undef TERMIOS +#undef TERMIO +#undef SGTTY +#endif + #ifdef TERMIOS #include #define TTY_STRUCT struct termios @@ -268,7 +274,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt, #ifdef OPENSSL_SYS_MSDOS if ((tty=fopen("con","r")) == NULL) tty=stdin; -#elif defined(MAC_OS_pre_X) +#elif defined(MAC_OS_pre_X) || defined(OPENSSL_SYS_VSWORKS) tty=stdin; #else #ifndef OPENSSL_SYS_MPE -- cgit v1.2.1