Rename PQsetSSLKeyPassHook and friends
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 16 May 2020 20:20:43 +0000 (16:20 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 16 May 2020 20:20:43 +0000 (16:20 -0400)
commit36d1087611bf96b0cd716666fc8c4a2d168fa501
treed7e1f264f4d9cb19fbff1f616385152ecb194d63
parent1cbc143f06113cbd1b94790c0781aa4b410cffc2
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
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-secure-openssl.c
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/libpq-fe.h