> I like to log all my ca-related tasks via the (Solaris-)script-command
> and discovered that all the passphrases i type in are echoed clearly.
> I don't know what the problem really is but the workaround for me
> is to add "-DTERMIOS" in the Configure-script for my setup: [...]
> I'm using SunOS 5.5.1 [...]
While I don't know what exactly causes that behaviour, it is certainly
the case that sgtty emulation tends to lead to bizarre effects nowadays.
Probably we could just as well ignore the non-TERMIOS cases anyway ...
This patch should fix such problems without any need for new
configuration options:
--- read_pwd.c.orig Sat Apr 3 00:24:11 1999
+++ read_pwd.c Sat Apr 3 00:27:38 1999
@@ -56,7 +56,17 @@
* [including the GNU Public Licence.]
*/
+#if !defined(MSDOS) && !defined(VMS)
+#include <unistd.h>
+/* If unistd.h defines _POSIX_VERSION, we conclude that we
+ * are on a POSIX system and have sigaction and termios. */
+#endif
+
/* #define SIGACTION */ /* Define this if you have sigaction() */
+#ifdef _POSIX_VERSION
+#define SIGACTION
+#endif
+
#ifdef WIN16TTY
#undef WIN16
#undef _WINDOWS
@@ -80,6 +90,10 @@
/* There are 5 types of terminal interface supported,
* TERMIO, TERMIOS, VMS, MSDOS and SGTTY
*/
+
+#ifdef _POSIX_VERSION
+#define TERMIOS
+#endif
#if defined(__sgi) && !defined(TERMIOS)
#define TERMIOS
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]