pgsql: Rename PQsetSSLKeyPassHook and friends

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename PQsetSSLKeyPassHook and friends
Date: 2020-05-16 21:56:44
Message-ID: E1ja4nU-0001YO-M5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename PQsetSSLKeyPassHook and friends

4dc6355210 provided a way for libraries and clients to modify how libpq
handles client certificate passphrases, by installing a hook. However,
these routines are quite specific to how OpenSSL works, so it's
misleading and not future-proof to have these names not refer to OpenSSL.
Change all the names to add "_OpenSSL" after "Hook", and fix the docs
accordingly.

Author: Daniel Gustafsson

Discussion: https://postgr.es/m/981DE552-E399-45C2-9F60-3F0E3770CC61@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36d1087611bf96b0cd716666fc8c4a2d168fa501

Modified Files
--------------
doc/src/sgml/libpq.sgml | 14 +++++++-------
src/interfaces/libpq/fe-secure-openssl.c | 10 +++++-----
src/interfaces/libpq/fe-secure.c | 8 ++++----
src/interfaces/libpq/libpq-fe.h | 10 +++++-----
4 files changed, 21 insertions(+), 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-05-16 23:44:52 pgsql: Fix bugs in OpenSSL hook renaming.
Previous Message Alvaro Herrera 2020-05-16 19:11:55 pgsql: Fix typo in glossary