Subject: Re: MIPS switched to new-toolchain
To: FUKAUMI Naoki <naoki@fukaumi.org>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: port-mips
Date: 01/09/2002 17:38:45
FUKAUMI Naoki <naoki@fukaumi.org> writes:
> ssh works fine? My NetBSD/hpcmips machine (2001/12/14 with new toolchain)
> alwalys return zero at RAND_pseudo_bytes(buf, 1).
It looks like if crypto/dist/openssl/crypto/rand/md_rand.c is compiled
with -O2, it returns 0. It works correctly if compiled with -O1.
BTW, ...
> unsigned char *buf;
> printf("%d", RAND_pseudo_bytes(buf, 1));
... this should be read:
< unsigned char buf;
< printf("%d", RAND_pseudo_bytes(&buf, 1));
enami.