Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread André Malo
* [EMAIL PROTECTED] wrote: Author: pquerna Date: Tue Feb 19 09:05:26 2008 New Revision: 629164 URL: http://svn.apache.org/viewvc?rev=629164view=rev Log: Improve generation of the seed to rand, by using apr_generate_random_bytes, rather than the current time as a seed. Wouldn't it make

Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread Jim Jagielski
On Feb 19, 2008, at 1:48 PM, André Malo wrote: * [EMAIL PROTECTED] wrote: Author: pquerna Date: Tue Feb 19 09:05:26 2008 New Revision: 629164 URL: http://svn.apache.org/viewvc?rev=629164view=rev Log: Improve generation of the seed to rand, by using apr_generate_random_bytes, rather than the

Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread Ruediger Pluem
On 02/19/2008 07:48 PM, André Malo wrote: * [EMAIL PROTECTED] wrote: Author: pquerna Date: Tue Feb 19 09:05:26 2008 New Revision: 629164 URL: http://svn.apache.org/viewvc?rev=629164view=rev Log: Improve generation of the seed to rand, by using apr_generate_random_bytes, rather than the

Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread Paul Querna
André Malo wrote: * [EMAIL PROTECTED] wrote: Author: pquerna Date: Tue Feb 19 09:05:26 2008 New Revision: 629164 URL: http://svn.apache.org/viewvc?rev=629164view=rev Log: Improve generation of the seed to rand, by using apr_generate_random_bytes, rather than the current time as a seed.

Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread Paul Querna
Ruediger Pluem wrote: On 02/19/2008 06:05 PM, [EMAIL PROTECTED] wrote: +static apr_status_t seed_rand() +{ +int seed = 0; +apr_status_t rv; +rv = apr_generate_random_bytes((unsigned char*) seed, sizeof(seed)); +if (rv) { +apr_file_printf(errfile, Unable to

Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread Ruediger Pluem
On 02/19/2008 06:05 PM, [EMAIL PROTECTED] wrote: Author: pquerna Date: Tue Feb 19 09:05:26 2008 New Revision: 629164 URL: http://svn.apache.org/viewvc?rev=629164view=rev Log: Improve generation of the seed to rand, by using apr_generate_random_bytes, rather than the current time as a seed.

Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c

2008-02-19 Thread Ruediger Pluem
On 02/19/2008 08:15 PM, Paul Querna wrote: André Malo wrote: * [EMAIL PROTECTED] wrote: Author: pquerna Date: Tue Feb 19 09:05:26 2008 New Revision: 629164 URL: http://svn.apache.org/viewvc?rev=629164view=rev Log: Improve generation of the seed to rand, by using apr_generate_random_bytes,