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

pgsql/contrib/pgcrypto internal.c

From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/contrib/pgcrypto internal.c
Date: 2002-01-03 07:21:48
Message-ID: 200201030721.g037Lmc66345@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql
Changes by:	momjian(at)postgresql(dot)org	02/01/03 02:21:48

Modified files:
	contrib/pgcrypto: internal.c 

Log message:
	> > On Fri, Dec 21, 2001 at 11:43:21AM +0800, Christopher Kings-Lynne
	wrote:
	> > > Just testing pgcrypto on freebsd/alpha.  I get some warnings:
	> > They should be harmless, although I should fix them.
	>
	> The actual code is:
	>
	>     if ((dlen & 15) || (((unsigned) res) & 3))
	>         return -1;
	
	> Hard to imagine how (uint *) & 3 makes any sense, unless res isn't
	> always a (uint8 *).  Is that true?
	
	At some point it was casted to (uint32*) so I wanted to be sure its ok.
	ATM its pointless.  Please apply the following patch.
	
	--
	marko


pgsql-committers by date

Next:From: momjianDate: 2002-01-03 08:01:18
Subject: pgsql/doc TODO
Previous:From: momjianDate: 2002-01-03 06:26:22
Subject: pgsql/doc/src/sgml/ref create_table.sgml

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