diff options
author | Richard Levitte <levitte@openssl.org> | 2000-09-14 12:48:48 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-09-14 12:48:48 +0000 |
commit | 72660f5f15fcd71215193f993dd95da0d130168a (patch) | |
tree | c934b5435b313cebadb7895167473c4c635f3caf | |
parent | bace21247493eb38870d2585f0e643bdc550f60a (diff) | |
download | openssl-72660f5f15fcd71215193f993dd95da0d130168a.tar.gz |
Add a configuration for Sony News 4.
Submitted by NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
-rw-r--r-- | CHANGES | 3 | ||||
-rwxr-xr-x | Configure | 3 | ||||
-rwxr-xr-x | config | 5 | ||||
-rw-r--r-- | e_os.h | 6 |
4 files changed, 16 insertions, 1 deletions
@@ -4,6 +4,9 @@ Changes between 0.9.5a and 0.9.6 [xx XXX 2000] + *) Add a configuration entry for Sony News 4. + [NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>] + *) Don't set the two most significant bits to one when generating a random number < q in the DSA library. [Ulf Möller] @@ -393,6 +393,9 @@ my %table=( ##### MacOS X (a.k.a. Rhapsody) setup "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::", +##### Sony NEWS-OS 4.x +"newsos4-gcc","gcc:-O -DB_ENDIAN -DNEWS4::(unknown):-lmld -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::", + ); my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32 @@ -247,6 +247,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in echo "${MACHINE}-v11-${SYSTEM}"; exit 0; ;; + NEWS-OS:4.*) + echo "mips-sony-newsos4"; exit 0; + ;; + esac # @@ -470,6 +474,7 @@ case "$GUESSOS" in # these are all covered by the catchall below # *-aix) OUT="aix-$CC" ;; # *-dgux) OUT="dgux" ;; + mips-sony-newsos4) OUT="newsos4-gcc" ;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; esac @@ -283,12 +283,16 @@ extern "C" { # ifndef NO_SYS_TYPES_H # include <sys/types.h> # endif -# ifdef NeXT +# if defined(NeXT) || defined(NEWS4) # define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP * (unless when compiling with -D_POSIX_SOURCE, * which doesn't work for us) */ # define ssize_t int /* ditto */ # endif +# ifdef NEWS4 /* setvbuf is missing on mips-sony-bsd */ +# define setvbuf(a, b, c, d) setbuffer((a), (b), (d)) + typedef unsigned long clock_t; +# endif # define OPENSSL_CONF "openssl.cnf" # define SSLEAY_CONF OPENSSL_CONF |