Make some use of anonymous unions [pgcrypto]
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-30T10:35:50Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/openssl.c | modified | +7 −7 |
| contrib/pgcrypto/px.h | modified | +1 −1 |
| src/common/cryptohash.c | modified | +18 −18 |
Discussion
- anonymous unions (C11) 15 messages · 2025-09-23 → 2026-01-21