Replace loading of ldap_start_tls_sA() by direct function call
authorMichael Paquier <michael@paquier.xyz>
Mon, 12 Sep 2022 00:07:10 +0000 (09:07 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 12 Sep 2022 00:07:10 +0000 (09:07 +0900)
commitc3fb5809eae3bb6f448ebc562462b39d6b1f6f22
tree8404afc3d28e22fbc1c5f5d4abb93b3a22ce18c5
parent857808a4116b231822746d6e70ded27bff0ec612
Replace loading of ldap_start_tls_sA() by direct function call

This change impacts the backend-side code in charge of starting a LDAP
TLS session.  It is a bit sad that it is not possible to unify the WIN32
and non-WIN32 code paths, but the different number of arguments for both
discard this possibility.

This is similar to 47bd0b3, where this replaces the last function
loading that seems worth it, any others being either environment or
version-dependent.

Reported-by: Thomas Munro
Reviewed-by: Thomas Munro
Discussion: http://postgr.es/m/Yx0rxpNgDh8tN4XA@paquier.xyz
src/backend/libpq/auth.c