Hi openssl-dev, I've successfully ported openssl-0.9.4 to the HP MPE/iX OS. See attached for my diffs. Please let me know if the patch is acceptable or if you'd like me to rework anything. Thanks! - Mark Bixby HP CSY MPE/iX Internet & Interoperability team member
diff -ru openssl-0.9.4/Configure openssl-0.9.4-m/Configure --- openssl-0.9.4/Configure Sun Aug 8 04:56:29 1999 +++ openssl-0.9.4-m/Configure Mon Dec 6 09:15:53 1999 @@ -170,6 +170,7 @@ "hpux-brokencc", "cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O2 -z::(unknown)::DES_PTR DES_UNROLL DES_RISC1:::", "hpux-gcc", "gcc:-DB_ENDIAN -DBN_DIV2W -O3::(unknown)::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", +"MPE/iX-gcc", "gcc:-DB_ENDIAN -DBN_DIV2W -O3 -DMPE -D_POSIX_SOURCE +-D_SOCKET_SOURCE::(unknown):-lsocket -lcurses:BN_LLONG DES_PTR DES_UNROLL +DES_RISC1:::", # If hpux-gcc fails, try this one: "hpux-brokengcc", "gcc:-DB_ENDIAN -DBN_DIV2W -O3::(unknown)::DES_PTR DES_UNROLL DES_RISC1:::", diff -ru openssl-0.9.4/crypto/des/read_pwd.c openssl-0.9.4-m/crypto/des/read_pwd.c --- openssl-0.9.4/crypto/des/read_pwd.c Thu Jul 15 16:47:02 1999 +++ openssl-0.9.4-m/crypto/des/read_pwd.c Thu Dec 9 11:54:39 1999 @@ -123,6 +123,10 @@ #undef SGTTY #endif +#ifdef MPE +#define TERMIOS +#endif + #if !defined(TERMIO) && !defined(TERMIOS) && !defined(VMS) && !defined(MSDOS) #undef TERMIOS #undef TERMIO @@ -253,7 +257,9 @@ tty=NULL; #ifndef MSDOS +#ifndef MPE if ((tty=fopen("/dev/tty","r")) == NULL) +#endif tty=stdin; #else /* MSDOS */ if ((tty=fopen("con","r")) == NULL) diff -ru openssl-0.9.4/e_os.h openssl-0.9.4-m/e_os.h --- openssl-0.9.4/e_os.h Mon Aug 9 03:52:36 1999 +++ openssl-0.9.4-m/e_os.h Fri Dec 3 17:23:00 1999 @@ -272,10 +272,12 @@ # else # include <sys/types.h> -# ifndef VMS +# if !defined(VMS) && !defined(MPE) # include <sys/param.h> # endif -# include <sys/time.h> /* Needed under linux for FD_XXX */ +# ifndef MPE +# include <sys/time.h> /* Needed under linux for FD_XXX */ +# endif # include <netdb.h> # if defined(VMS) && !defined(__DECC)