pgcrypto 0.4.2 - Mailing list pgsql-general

From Marko Kreen
Subject pgcrypto 0.4.2
Date
Msg-id 20011130123831.A32754@l-t.ee
Whole thread Raw
List pgsql-general
Hello again,

pgcrypto 0.4 had a nasty obscure bug, when after including
postgres.h the BYTE_ORDER is not defined, it compiles code for
both big-endian and little-endian machines.  This makes MD5 and
SHA1 algorithms in internal library produce garbage, ofcourse
now HMAC and crypt-md5 produce junk too.  Also Rijndael on
big-endian machine may be broken.  If you used any external
library, you are fine.

Affected platforms: FreeBSD *, probably more.
Not affected: Linux/glibc 2.2, NetBSD 1.5.

    http://www.l-t.ee/marko/pgsql/pgcrypto-0.4.2.tar.gz

Morale: _do_ run regression tests before real use...

--
marko


pgsql-general by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: error on drop table
Next
From: Paul Stavrides
Date:
Subject: Initdb failure with PG 7.1.3 on RH 7.1...