]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix pg_hba_file_rules for authentication method cert
authorMagnus Hagander <magnus@hagander.net>
Wed, 26 Jan 2022 08:52:41 +0000 (09:52 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 26 Jan 2022 08:59:19 +0000 (09:59 +0100)
commit81596645ca2ba382918fca9e82aa3089db737e14
treeae43a29e63c59242959c1da96d636da57531b8c4
parent213c5aa3bdba5783529d3c0f103dbfadf4f93f50
Fix pg_hba_file_rules for authentication method cert

For authentication method cert, clientcert=verify-full is implied. But
the pg_hba_file_rules entry would incorrectly show clientcert=verify-ca.

Per bug #17354

Reported-By: Feike Steenbergen
Reviewed-By: Jonathan Katz
Backpatch-through: 12
src/backend/libpq/hba.c