From fa3da3cf09af1b688295d27ac96e55f115d8ffd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Thu, 8 Apr 1999 17:10:27 +0000 Subject: [PATCH] Be more optimistic about the availability of termios for ~ECHO, because sgtty emulation tends to fail on various systems. Submitted by: Reviewed by: PR: --- STATUS | 8 +++++++- crypto/des/read_pwd.c | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/STATUS b/STATUS index c8e41d3b4a..54e00cc5f1 100644 --- a/STATUS +++ b/STATUS @@ -1,6 +1,6 @@ OpenSSL STATUS Last modified at - ______________ $Date: 1999/04/07 23:37:33 $ + ______________ $Date: 1999/04/08 17:10:25 $ DEVELOPMENT STATE @@ -22,6 +22,8 @@ o getenv in ca.c and x509_def.c (jaltman@watsun.cc.columbia.edu) o linux dynamic libs (colin@field.medicine.adelaide.edu.au) o MingW support (niklas@canit.se) + o SPARC v9, SPARC v8 assembler implementations of bn_asm.c + (appro@fy.chalmers.se) IN PROGRESS @@ -141,6 +143,10 @@ > go. I also noticed the even with -DNO_IDEA, _DNO_RC2, etc. the make > still goes into those subdirectories and 'makes'. + o The "exported" header files should not use #include "foo.h", but + #include or even better #include or + #include in order to avoid filename clashes. + WISHES o Damien Miller: diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c index 1dffe083ac..db59c4c040 100644 --- a/crypto/des/read_pwd.c +++ b/crypto/des/read_pwd.c @@ -56,7 +56,22 @@ * [including the GNU Public Licence.] */ +#if !defined(MSDOS) && !defined(VMS) +#include +/* If unistd.h defines _POSIX_VERSION, we conclude that we + * are on a POSIX system and have sigaction and termios. */ +#if defined(_POSIX_VERSION) + +# define SIGACTION +# if !defined(TERMIOS) && !defined(TERMIO) && !defined(SGTTY) +# define TERMIOS +# endif + +#endif +#endif + /* #define SIGACTION */ /* Define this if you have sigaction() */ + #ifdef WIN16TTY #undef WIN16 #undef _WINDOWS -- GitLab