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