mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
rename "gss_accept_deleg" to "gss_accept_delegation".
This is more consistent with existing GUC spelling. Discussion: https://postgr.es/m/ZGdnEsGtNj7+fZoa@momjian.us
This commit is contained in:
@@ -165,7 +165,7 @@ static int CheckCertAuth(Port *port);
|
||||
*/
|
||||
char *pg_krb_server_keyfile;
|
||||
bool pg_krb_caseins_users;
|
||||
bool pg_gss_accept_deleg;
|
||||
bool pg_gss_accept_delegation;
|
||||
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
@@ -1003,7 +1003,7 @@ pg_GSS_recvauth(Port *port)
|
||||
&port->gss->outbuf,
|
||||
&gflags,
|
||||
NULL,
|
||||
pg_gss_accept_deleg ? &delegated_creds : NULL);
|
||||
pg_gss_accept_delegation ? &delegated_creds : NULL);
|
||||
|
||||
/* gbuf no longer used */
|
||||
pfree(buf.data);
|
||||
|
||||
@@ -593,7 +593,7 @@ secure_open_gssapi(Port *port)
|
||||
GSS_C_NO_CREDENTIAL, &input,
|
||||
GSS_C_NO_CHANNEL_BINDINGS,
|
||||
&port->gss->name, NULL, &output, NULL,
|
||||
NULL, pg_gss_accept_deleg ? &delegated_creds : NULL);
|
||||
NULL, pg_gss_accept_delegation ? &delegated_creds : NULL);
|
||||
|
||||
if (GSS_ERROR(major))
|
||||
{
|
||||
@@ -749,7 +749,7 @@ be_gssapi_get_princ(Port *port)
|
||||
* connection.
|
||||
*/
|
||||
bool
|
||||
be_gssapi_get_deleg(Port *port)
|
||||
be_gssapi_get_delegation(Port *port)
|
||||
{
|
||||
if (!port || !port->gss)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user