]> 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:38 +0000 (20:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Dec 2021 01:24:38 +0000 (20:24 -0500)
commit116a509e09acf80793eae148ce5f8392ae954b89
treea714a59154bc02e048d9a0a721ecf0310caa29d0
parentf420f24c0a5dee7ef35990d9a9dde4397b5d8ce7
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