Korea PostgreSQL Users' Group wrote:

I found that function gen_salt() in contrib/pgcrypto had bug on win32.
I patched contrib/pgcrypto/random.c file.


What is the purpose of this addition?

+   srandom(time(NULL));
+


Is resetting the seed on each call a good idea?

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to