pidgin/pidgin

Remove a lookup table that is no longer used
release-2.x.y
2021-02-11, Gary Kramlich
116464ec6245
Parents 033c9e85ca14
Children f8ecce79cb9a
Remove a lookup table that is no longer used

Testing Done:
Compiled.

Reviewed at https://reviews.imfreedom.org/r/496/
--- a/libpurple/protocols/jabber/auth_scram.c Thu Feb 11 23:55:55 2021 -0600
+++ b/libpurple/protocols/jabber/auth_scram.c Thu Feb 11 23:56:36 2021 -0600
@@ -47,32 +47,6 @@
g_return_val_if_reached(NULL);
}
-static const struct {
- const char *error;
- const char *meaning;
-} server_errors[] = {
- { "invalid-encoding",
- N_("Invalid Encoding")},
- { "extensions-not-supported",
- N_("Unsupported Extension") },
- { "channel-bindings-dont-match",
- N_("Unexpected response from the server. This may indicate a possible MITM attack") },
- { "server-does-support-channel-binding",
- N_("The server does support channel binding, but did not appear to advertise it. This indicates a likely MITM attack") },
- { "channel-binding-not-supported",
- N_("Server does not support channel binding") },
- { "unsupported-channel-binding-type",
- N_("Unsupported channel binding method") },
- { "unknown-user",
- N_("User not found") },
- { "invalid-username-encoding",
- N_("Invalid Username Encoding") },
- { "no-resources",
- N_("Resource Constraint") },
- { "other-error",
- N_("Unknown Error") }
-};
-
guchar *jabber_scram_hi(const JabberScramHash *hash, const GString *str,
GString *salt, guint iterations)
{