[Pkg-privacy-commits] [pidgin-otr] 176/255: Add a maximum message size for the Novell Groupwise protocol
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:51:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch experimental
in repository pidgin-otr.
commit 461f85b0965fb01dd03a35fb7354ba5821141d55
Author: Federico Mena Quintero <federico at suse.com>
Date: Fri May 31 21:24:05 2013 -0400
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
---
ChangeLog | 6 ++++++
otr-plugin.c | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 663cd76..fcb961c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-31
+
+ * otr-plugin.c: Add a default max message size for Novell
+ Groupwise. Patch from Federico Mena Quintero
+ <federico at suse.com>.
+
2013-05-29
* configure.ac:
diff --git a/otr-plugin.c b/otr-plugin.c
index d455ca8..008aed2 100644
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pidgin-otr.git
More information about the Pkg-privacy-commits
mailing list