Bojan Smojver wrote:
On Fri, 2012-01-06 at 10:05 +1100, Bojan Smojver wrote:
Any other ideas?
Maybe like this?
Something like that would be appreciated, by me, at least.
One caution, though -- if apr_hash_make() can now return NULL,
a lot of things might suddenly break, like httpd.
On Fri, 2012-01-06 at 10:52 +1100, Bojan Smojver wrote:
+if (apr_generate_random_bytes(
+(unsigned char *)ht-seed, sizeof(ht-seed)) != APR_SUCCESS)
+return NULL;
Chris,
What I mean is, instead of return NULL, we could have ht-seed =
(unsigned int) ht. Not as random as