Re-defines SHA2 symbols so that they would not conflict with certain

Bruce Momjian <bruce@momjian.us>

Commit: 56f44784f62c62a4f8c149bc618a4ccc97e96db2
Author: Bruce Momjian <bruce@momjian.us>
Date: 2006-05-30T12:56:45Z
Releases: 8.2.0
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

Files

PathChange+/−
contrib/pgcrypto/sha2.c modified +9 −9
contrib/pgcrypto/sha2.h modified +11 −1