ï
I found that function
gen_salt() in contrib/pgcrypto had bug on win32.
I patched contrib/pgcrypto/random.c file.
--------------
$ diff random.orig.c random.c
42a43 > #include <time.h> 87a89,90 > srandom(time(NULL)); > 89c92 < *dst++ = random(); --- > dst[i] = (random() % 255); plz, check and apply.
|
[PATCHES] patch contrib/pgcrypto for win32
Korea PostgreSQL Users' Group Sun, 05 Dec 2004 07:15:50 -0800
- [PATCHES] patch contrib/pgcrypto for win32 Korea PostgreSQL Users' Group
- Re: [PATCHES] patch contrib/pgcrypto fo... Andrew Dunstan