diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2021-01-20 17:37:58 -0600 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2021-01-20 17:37:58 -0600 |
commit | d6468972049715d2578e2c485708bde4c79c6416 (patch) | |
tree | ebb86926923b8a4bcbfb52281cf023e29751b629 | |
parent | 8f36b836e7b88786f75d8b33a56ae5f9960d52e8 (diff) | |
download | libsoup-d6468972049715d2578e2c485708bde4c79c6416.tar.gz |
Change SOUP_GSSAPI_BLACKLISTED_URIS to SOUP_GSSAPI_BLOCKLISTED_URIS
-rw-r--r-- | libsoup/auth/soup-auth-negotiate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libsoup/auth/soup-auth-negotiate.c b/libsoup/auth/soup-auth-negotiate.c index 3b85255f..34c4830b 100644 --- a/libsoup/auth/soup-auth-negotiate.c +++ b/libsoup/auth/soup-auth-negotiate.c @@ -103,7 +103,7 @@ static int soup_gss_client_step (SoupNegotiateConnectionState *conn, const char *host, char **error_message); static GSList *trusted_uris; -static GSList *blacklisted_uris; +static GSList *blocklisted_uris; static void parse_uris_from_env_variable (const gchar *env_variable, GSList **list); @@ -333,7 +333,7 @@ soup_auth_negotiate_class_init (SoupAuthNegotiateClass *auth_negotiate_class) auth_class->can_authenticate = soup_auth_negotiate_can_authenticate; parse_uris_from_env_variable ("SOUP_GSSAPI_TRUSTED_URIS", &trusted_uris); - parse_uris_from_env_variable ("SOUP_GSSAPI_BLACKLISTED_URIS", &blacklisted_uris); + parse_uris_from_env_variable ("SOUP_GSSAPI_BLOCKLISTED_URIS", &blocklisted_uris); #endif /* LIBSOUP_HAVE_GSSAPI */ } @@ -455,9 +455,9 @@ check_auth_trusted_uri (SoupConnectionAuth *auth, SoupMessage *msg) msg_uri = soup_message_get_uri (msg); - /* First check if the URI is not on blacklist */ - if (blacklisted_uris && - g_slist_find_custom (blacklisted_uris, msg_uri, (GCompareFunc) match_base_uri)) + /* First check if the URI is not on blocklist */ + if (blocklisted_uris && + g_slist_find_custom (blocklisted_uris, msg_uri, (GCompareFunc) match_base_uri)) return FALSE; /* If no trusted URIs are set, we allow all HTTPS URIs */ |