mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +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:
@ -402,7 +402,7 @@ pgfdw_security_check(const char **keywords, const char **values, UserMapping *us
|
||||
|
||||
#ifdef ENABLE_GSS
|
||||
/* Connected via GSSAPI with delegated credentials- all good. */
|
||||
if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_deleg(MyProcPort))
|
||||
if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_delegation(MyProcPort))
|
||||
return;
|
||||
#endif
|
||||
|
||||
@ -612,7 +612,7 @@ check_conn_params(const char **keywords, const char **values, UserMapping *user)
|
||||
|
||||
#ifdef ENABLE_GSS
|
||||
/* ok if the user provided their own delegated credentials */
|
||||
if (be_gssapi_get_deleg(MyProcPort))
|
||||
if (be_gssapi_get_delegation(MyProcPort))
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user