pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix sslsni connparam boolean check 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix sslsni connparam boolean check @ 2021-08-13 08:42 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Daniel Gustafsson @ 2021-08-13 08:42 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix sslsni connparam boolean check The check for sslsni only checked for existence of the parameter but not for the actual value of the param. This meant that the SNI extension was always turned on. Fix by inspecting the value of sslsni and only activate the SNI extension iff sslsni has been enabled. Also update the docs to be more in line with how other boolean params are documented. Backpatch to 14 where sslsni was first implemented. Reviewed-by: Tom Lane Backpatch-through: 14, where sslni was added Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/512f4ca6c6b5d2e3a1620288048ccaa712121e12 Modified Files -------------- doc/src/sgml/libpq.sgml | 2 +- src/interfaces/libpq/fe-secure-openssl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix sslsni connparam boolean check @ 2021-08-13 08:42 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Daniel Gustafsson @ 2021-08-13 08:42 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix sslsni connparam boolean check The check for sslsni only checked for existence of the parameter but not for the actual value of the param. This meant that the SNI extension was always turned on. Fix by inspecting the value of sslsni and only activate the SNI extension iff sslsni has been enabled. Also update the docs to be more in line with how other boolean params are documented. Backpatch to 14 where sslsni was first implemented. Reviewed-by: Tom Lane Backpatch-through: 14, where sslni was added Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ffff00a3556734f859f375b8c76c89f1d2920bcd Modified Files -------------- doc/src/sgml/libpq.sgml | 2 +- src/interfaces/libpq/fe-secure-openssl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-08-13 08:42 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-08-13 08:42 pgsql: Fix sslsni connparam boolean check Daniel Gustafsson <dgustafsson@postgresql.org> 2021-08-13 08:42 pgsql: Fix sslsni connparam boolean check Daniel Gustafsson <dgustafsson@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox