diff options
author | Tom Lane | 2005-07-11 17:00:03 +0000 |
---|---|---|
committer | Tom Lane | 2005-07-11 17:00:03 +0000 |
commit | e82f7e9e7e4238825a187921a749247a7c517789 (patch) | |
tree | 35e52c1bbed740b71e45335b83b8e52c59ca9e63 | |
parent | 067a5cdb35d7b37f65a41a418ea6a22ee6387ccd (diff) |
I forgot to update win32 code when doing a renaming in random.c.
Marko Kreen
-rw-r--r-- | contrib/pgcrypto/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/random.c b/contrib/pgcrypto/random.c index 019ac3c9a3..501e36f131 100644 --- a/contrib/pgcrypto/random.c +++ b/contrib/pgcrypto/random.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.12 2005/07/11 15:07:59 tgl Exp $ + * $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.13 2005/07/11 17:00:03 tgl Exp $ */ #include "postgres.h" @@ -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; |