diff options
author | Richard Levitte <levitte@openssl.org> | 2002-02-14 15:37:38 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-02-14 15:37:38 +0000 |
commit | 3e83e686ba2e21a2d7d991446bc6fedde5ff58c0 (patch) | |
tree | d8330c1735352c6b85a98a49ef79c97dbd096290 /crypto/des | |
parent | 8f06b003736c957c6e693d3b5dd1393f91a530cd (diff) |
Add the configuration target VxWorks.
Diffstat (limited to 'crypto/des')
-rw-r--r-- | crypto/des/read_pwd.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 <termios.h> #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 |