summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pgcrypto/sha2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/pgcrypto/sha2.h b/contrib/pgcrypto/sha2.h
index 501f0e04463..7e073d99b2c 100644
--- a/contrib/pgcrypto/sha2.h
+++ b/contrib/pgcrypto/sha2.h
@@ -39,6 +39,9 @@
#define _SHA2_H
/* avoid conflict with OpenSSL */
+#define SHA224_Init pg_SHA224_Init
+#define SHA224_Update pg_SHA224_Update
+#define SHA224_Final pg_SHA224_Final
#define SHA256_Init pg_SHA256_Init
#define SHA256_Update pg_SHA256_Update
#define SHA256_Final pg_SHA256_Final