mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -2604,7 +2604,7 @@ dblink_security_check(PGconn *conn, remoteConn *rconn, const char *connstr)
|
||||
|
||||
#ifdef ENABLE_GSS
|
||||
/* If GSSAPI creds used to connect, make sure it was one delegated */
|
||||
if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_deleg(MyProcPort))
|
||||
if (PQconnectionUsedGSSAPI(conn) && be_gssapi_get_delegation(MyProcPort))
|
||||
return;
|
||||
#endif
|
||||
|
||||
@ -2671,7 +2671,7 @@ dblink_connstr_check(const char *connstr)
|
||||
return;
|
||||
|
||||
#ifdef ENABLE_GSS
|
||||
if (be_gssapi_get_deleg(MyProcPort))
|
||||
if (be_gssapi_get_delegation(MyProcPort))
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user