OSDN Git Service

Re-defines SHA2 symbols so that they would not conflict with certain
authorBruce Momjian <bruce@momjian.us>
Tue, 30 May 2006 12:56:45 +0000 (12:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 30 May 2006 12:56:45 +0000 (12:56 +0000)
commit56f44784f62c62a4f8c149bc618a4ccc97e96db2
tree672db75fc6a2dcbe030dccca7aa0d6f97f23cf24
parent39b031d417b0d66438f80d39335298d069fb6d88
Re-defines SHA2 symbols so that they would not conflict with certain
versions of OpenSSL.  If your OpenSSL does not contain SHA2, then there
should be no conflict.  But ofcourse, if someone upgrades OpenSSL,
server starts crashing.

Backpatched to 8.1.X.

Marko Kreen
contrib/pgcrypto/sha2.c
contrib/pgcrypto/sha2.h