]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Suppress -Warray-parameter warnings in pgcrypto/sha2.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Dec 2021 01:24:53 +0000 (20:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Dec 2021 01:24:53 +0000 (20:24 -0500)
commitd754ccc1ec9f367ef7bbcf0fa4bc230d04a2c341
tree119e6333ff554cc0b4e24b9b5b86763506ba0d67
parenta86312362da4175baf2c899645b4dfb08625f50f
Suppress -Warray-parameter warnings in pgcrypto/sha2.c.

This is exactly the same problem as commit 1b242f42b fixed in ecpg,
but in contrib/pgcrypto.  Commit 273c458a2 eliminated the problem
here for v10 and up.  We hadn't noticed for exactly the same reasons
enumerated in bbbf22cf3.

Back-patch down to 9.2, pursuant to newly-established project policy
about keeping out-of-support branches buildable.

Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com
contrib/pgcrypto/sha2.c