mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
* When postgres.h does not define BYTE_ENDIAN pgcrypto
produces garbage. I learned the hard way that #if UNDEFINED_1 == UNDEFINED_2 #error "gcc is idiot" #endif prints "gcc is idiot" ... Affected are MD5/SHA1 in internal library, and also HMAC-MD5/HMAC-SHA1/ crypt-md5 which use them. Blowfish is ok, also Rijndael on at least x86. Big thanks to Daniel Holtzman who send me a build log which contained warning: md5.c:246: warning: `X' defined but not used Yes, gcc is that helpful... Please apply this. -- marko
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: md5.c,v 1.8 2001/10/25 05:49:19 momjian Exp $ */
|
||||
/* $Id: md5.c,v 1.9 2001/11/29 19:40:37 momjian Exp $ */
|
||||
/* $KAME: md5.c,v 1.3 2000/02/22 14:01:17 itojun Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include "postgres.h"
|
||||
#include "px.h"
|
||||
|
||||
#include "md5.h"
|
||||
|
||||
|
Reference in New Issue
Block a user