]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make some use of anonymous unions [pgcrypto]
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Sep 2025 10:24:38 +0000 (12:24 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Sep 2025 10:35:50 +0000 (12:35 +0200)
commitefcd5199d8cb8e5098f79b38d0c46004e69d1a46
tree9ea7da179f7b983147bdbb5614d0e6dba12b774f
parent57d46dff9b0ba8dc50fb37166373ea7638ecd2b9
Make some use of anonymous unions [pgcrypto]

Make some use of anonymous unions, which are allowed as of C11, as
examples and encouragement for future code, and to test compilers.

This commit changes some structures in pgcrypto.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f00a9968-388e-4f8c-b5ef-5102e962d997%40eisentraut.org
contrib/pgcrypto/openssl.c
contrib/pgcrypto/px.h
src/common/cryptohash.c