Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 11:55:43 -0800 (PST)
From:      dima@rdy.com (Dima Ruban)
To:        "Jonathan M. Bresler" <jmb@hub.freebsd.org>
Cc:        king@sstar.com, dima@rdy.com, alpha@FreeBSD.ORG
Subject:   Re: arc4random && read_random
Message-ID:  <199911301955.LAA70456@sivka.rdy.com>
In-Reply-To: <19991130195058.2A8D114D0F@hub.freebsd.org> from "Jonathan M. Bresler" at "Nov 30, 1999 11:50:58 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan M. Bresler writes:
> > 
> > I hacked around the problem by adding arc4random.c to 
> > sys/alpha/conf/files.alpha, and commenting out the call to read_random() in 
> > arc4random.c (replacing it with "r = 0;" to initialize the return value).
> > 
> > I agree that implementing read_random for Alpha - even a dummy version - 
> > would be a better way to do it (but my way was quicker :-).
> > 
> > Jim
> 
> 	#ifdef __alpha__
> 
> 	worked for me

Right, but I don't think that general population will be happy with this.
I'd rather hack _alpha-specific_ code than code that's common for all
architectures.

> 
> jmb
> 

-- dima


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911301955.LAA70456>