Suppress -Warray-parameter warnings in pgcrypto/sha2.c.
authorTom Lane <[email protected]>
Mon, 13 Dec 2021 01:24:41 +0000 (20:24 -0500)
committerTom Lane <[email protected]>
Mon, 13 Dec 2021 01:24:41 +0000 (20:24 -0500)
commit0d9b02b33919bebc5d2b78281d091a4e9cf440f9
tree0662db72f3efad38bba1a45bc3ea7cd0489d587f
parent4cb389a048ebc5dadce18e820af2dbb14fd57208
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