Thu, 11 Feb 2021 23:56:36 -0600
Remove a lookup table that is no longer used
Testing Done:
Compiled.
Reviewed at https://reviews.imfreedom.org/r/496/
| libpurple/protocols/jabber/auth_scram.c | file | annotate | diff | comparison | revisions |
--- 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) {