Re: Add ssl_(supported|shared)_groups to sslinfo
Zsolt Parragi <zsolt.parragi@percona.com>
From: Zsolt Parragi <zsolt.parragi@percona.com>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>,
Daniel Gustafsson <daniel@yesql.se>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-05-12T21:48:20Z
Lists: pgsql-hackers
Hello! +#define HAVE_SSL_GROUPS \ + defined(HAVE_DECL_SSL_GET1_GROUPS) && \ + defined(HAVE_DECL_SSL_GET_NEGOTIATED_GROUP) && \ + defined(HAVE_SSL_GROUP_TO_NAME) I don't think this check works properly 1. autoconf/meson always defines HAVE_DECL to 0/1, so defined() always returns true 2. in practice it should work, but using defined() in a macro expansion is undefined behavior