Skip site navigation (1) Skip section navigation (2)

Re: pgcrypto Makefile update

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Marko Kreen <marko(at)l-t(dot)ee>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pgcrypto Makefile update
Date: 2001-09-26 16:26:25
Message-ID: 200109261626.f8QGQPo26466@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

	http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.


> 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++) {
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-09-26 16:27:13
Subject: Re: rtree improvements
Previous:From: Marko KreenDate: 2001-09-26 10:02:26
Subject: Re: pgcrypto Makefile update

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group