aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/postinit.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2021-08-13 10:32:17 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2021-08-13 10:32:17 +0200
commit512f4ca6c6b5d2e3a1620288048ccaa712121e12 (patch)
treebada30dccac0d30ca1cee115f55dab6de044e1fd /src/backend/utils/init/postinit.c
parent37450f2ca9ad430d78673cc26816fc2085e65904 (diff)
downloadpostgresql-512f4ca6c6b5d2e3a1620288048ccaa712121e12.tar.gz
postgresql-512f4ca6c6b5d2e3a1620288048ccaa712121e12.zip
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
Diffstat (limited to 'src/backend/utils/init/postinit.c')
0 files changed, 0 insertions, 0 deletions