pgcrypto BYTE_ORDER fix for stable branches - Mailing list pgsql-patches

From Marko Kreen
Subject pgcrypto BYTE_ORDER fix for stable branches
Date
Msg-id 20050713150018.GA29867@l-t.ee
Whole thread Raw
List pgsql-patches
Recently was uncovered that pgcrypto does not include
right header file to get BYTE_ORDER define on Cygwin
and MINGW, and the missing define does not result in
build failures, but random combinations of little and
big-endian code sections.

This patch adds missing sys/param.h include for md5.c,
sha1.c and rijndael.c plus also check to catch undefined
BYTE_ORDER.

The patch applies cleanly and is tested on branches
for versions 7.2, 7.3, 7.4 and 8.0.  There are also
no failures on buildfarm for HEAD, where this patch
is already included.

--
marko


Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [DOCS] Doc patch: New PL/Perl Features
Next
From: Simon Riggs
Date:
Subject: Final cleanup of SQL:1999 references