This is a discussion on Re: FIPS 140-2 OpenSSL(2007) patches - openssh ; On Mon, Apr 21, 2008 at 07:08:18PM +0300, Oren Nechushtan wrote: > +#ifdef OPENSSL_FIPS > +// u_int32_t rnd[6], i; > +// u_char* buf=(u_char*)rnd; > + u_char buf[24]; > +#endif ... > +// for (i = 0; i > +// rnd[i] ...
On Mon, Apr 21, 2008 at 07:08:18PM +0300, Oren Nechushtan wrote:
> +#ifdef OPENSSL_FIPS
> +// u_int32_t rnd[6], i;
> +// u_char* buf=(u_char*)rnd;
> + u_char buf[24];
> +#endif
...
> +// for (i = 0; i < 6; i++)
> +// rnd[i] = arc4random();
> +#endif
Not so nice to add so many comments.
//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev