-
- Downloads
* 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
Showing
- contrib/pgcrypto/blf.c 2 additions, 0 deletionscontrib/pgcrypto/blf.c
- contrib/pgcrypto/crypt-blowfish.c 2 additions, 0 deletionscontrib/pgcrypto/crypt-blowfish.c
- contrib/pgcrypto/crypt-des.c 1 addition, 0 deletionscontrib/pgcrypto/crypt-des.c
- contrib/pgcrypto/crypt-gensalt.c 1 addition, 0 deletionscontrib/pgcrypto/crypt-gensalt.c
- contrib/pgcrypto/md5.c 2 additions, 1 deletioncontrib/pgcrypto/md5.c
- contrib/pgcrypto/px.h 10 additions, 1 deletioncontrib/pgcrypto/px.h
- contrib/pgcrypto/rijndael.c 1 addition, 0 deletionscontrib/pgcrypto/rijndael.c
- contrib/pgcrypto/sha1.c 2 additions, 1 deletioncontrib/pgcrypto/sha1.c
Loading
Please register or sign in to comment