]> 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:23 +0000 (09:59 +0100)
commitaa58f5c53142782bd6a376a578d85d5ddd13d751
treee304dc7568adc8e4be05d1361ece67bbf2b5000a
parent64b2c6507e5714b5c688b9c5cc551fbedb7b3b58
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