# HG changeset patch # User Gary Kramlich # Date 1613109396 21600 # Node ID 116464ec62455b5f8cc4619c9b703b618cc96c28 # Parent 033c9e85ca14f4c34d9f73de96ef6cc3821a3d86 Remove a lookup table that is no longer used Testing Done: Compiled. Reviewed at https://reviews.imfreedom.org/r/496/ diff -r 033c9e85ca14 -r 116464ec6245 libpurple/protocols/jabber/auth_scram.c --- 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) {