Maybe problem in openbsd-compat/bsd-arc4random.c

Tim Rice tim at multitalents.net
Thu May 9 08:59:45 EST 2002


On Wed, 8 May 2002, Chris Maxwell wrote:

I've commited the change to CVS. Thanks.

>
>   I believe there is a problem with the openbsd-compat/bsd-arc4random.c
> file. If arc4random () is called without seed_rng having previously
> been called (eg if you run ssh-keygen -p ) then it does not in
> fact invoke seed_rng () if it is the first time.  Instead it
> will invoke seed_rng every time BUT the first time.  At least
> that is the way I read the code, and changing it as below allowed
> me to change my passphrase.  :-)
>
>   Thank you very much for all your wonderful work,
>

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list