Commit 461f85b0 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Ian Goldberg
Browse files

Add a maximum message size for the Novell Groupwise protocol

If the OTR plugin doesn't know about Groupwise's maximum message size,
then encrypted authentication messages will be undesirably truncated.

Libpurple declares Groupwise's maximum size as 2048.  That didn't work
for OTR, so we use 1792 - that one works.

https://bugzilla.novell.com/show_bug.cgi?id=809052
parent 2c10e65c
2013-05-31
* otr-plugin.c: Add a default max message size for Novell
Groupwise. Patch from Federico Mena Quintero
<federico@suse.com>.
2013-05-29
* configure.ac:
......
......@@ -1161,9 +1161,10 @@ static void otrg_init_mms_table()
static const struct s_OtrgIdProtPair {
char *protid;
int maxmsgsize;
} mmsPairs[8] = {{"prpl-msn", 1409}, {"prpl-icq", 2346},
} mmsPairs[] = {{"prpl-msn", 1409}, {"prpl-icq", 2346},
{"prpl-aim", 2343}, {"prpl-yahoo", 799}, {"prpl-gg", 1999},
{"prpl-irc", 417}, {"prpl-oscar", 2343}, {NULL, 0}};
{"prpl-irc", 417}, {"prpl-oscar", 2343},
{"prpl-novell", 1792}, {NULL, 0}};
int i = 0;
gchar *maxmsgsizefile;
FILE *mmsf;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment