summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2005-07-11 17:00:03 +0000
committerTom Lane2005-07-11 17:00:03 +0000
commit1803209bd183945c7d4bd95e5253303084f65593 (patch)
tree91dbfbfe6ccc9e097bae30e66ed58175c37ec017
parent5a92f3cbba138252f3667fefed099345bb7500ff (diff)
I forgot to update win32 code when doing a renaming in random.c.
Marko Kreen
-rw-r--r--contrib/pgcrypto/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/random.c b/contrib/pgcrypto/random.c
index 1d870663f6..35023939b8 100644
--- a/contrib/pgcrypto/random.c
+++ b/contrib/pgcrypto/random.c
@@ -126,7 +126,7 @@ static uint8 * try_win32_genrand(uint8 *dst)
if (!res)
return dst;
- res = CryptGenRandom(h, NUM_BYTES, dst);
+ res = CryptGenRandom(h, RND_BYTES, dst);
if (res == TRUE)
dst += len;