Re: pgcrypto Makefile update - Mailing list pgsql-patches

From Marko Kreen
Subject Re: pgcrypto Makefile update
Date
Msg-id 20010926120226.A5465@l-t.ee
Whole thread Raw
In response to pgcrypto Makefile update  (Marko Kreen <marko@l-t.ee>)
Responses Re: pgcrypto Makefile update
Re: pgcrypto Makefile update
List pgsql-patches
On Tue, Sep 25, 2001 at 07:34:35PM +0200, Marko Kreen wrote:
> * Changed default randomness source to libc random()
>   That way pgcrypto does not have any external dependencies
>   and should work everywhere.

Found type mismatch in random.c.  Please apply this also.

--
marko


Index: contrib/pgcrypto/random.c
===================================================================
RCS file: /opt/cvs/pgsql/pgsql/contrib/pgcrypto/random.c,v
retrieving revision 1.1
diff -u -r1.1 random.c
--- contrib/pgcrypto/random.c    23 Sep 2001 04:12:44 -0000    1.1
+++ contrib/pgcrypto/random.c    25 Sep 2001 18:51:37 -0000
@@ -80,7 +80,7 @@

 #ifdef RAND_SILLY

-int px_get_random_bytes(char *dst, unsigned count)
+int px_get_random_bytes(uint8 *dst, unsigned count)
 {
     int i;
     for (i = 0; i < count; i++) {

pgsql-patches by date:

Previous
From: yasen
Date:
Subject: troubles with setuid patch
Next
From: Bruce Momjian
Date:
Subject: Re: rtree improvements