aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-secure.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-01-22 09:26:27 +0900
committerMichael Paquier <michael@paquier.xyz>2021-01-22 09:26:27 +0900
commitaf0e79c8f4f4c3c2306855045c0d02a6be6485f0 (patch)
treeef0db125e70673b5b568436575961fc47361ff2b /src/interfaces/libpq/fe-secure.c
parent27a48e5a16ff2227ddf44ee717d9bcd89d22a7aa (diff)
downloadpostgresql-af0e79c8f4f4c3c2306855045c0d02a6be6485f0.tar.gz
postgresql-af0e79c8f4f4c3c2306855045c0d02a6be6485f0.zip
Move SSL information callback earlier to capture more information
The callback for retrieving state change information during connection setup was only installed when the connection was mostly set up, and thus didn't provide much information and missed all the details related to the handshake. This also extends the callback with SSL_state_string_long() to print more information about the state change within the SSL object handled. While there, fix some comments which were incorrectly referring to the callback and its previous location in fe-secure.c. Author: Daniel Gustafsson Discussion: https://postgr.es/m/232CF476-94E1-42F1-9408-719E2AEC5491@yesql.se
Diffstat (limited to 'src/interfaces/libpq/fe-secure.c')
-rw-r--r--src/interfaces/libpq/fe-secure.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index 67b1e785129..00b87bdc96d 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -13,12 +13,6 @@
* IDENTIFICATION
* src/interfaces/libpq/fe-secure.c
*
- * NOTES
- *
- * We don't provide informational callbacks here (like
- * info_cb() in be-secure.c), since there's no good mechanism to
- * display such information to the user.
- *
*-------------------------------------------------------------------------
*/