Mercurial > pidgin
view libpurple/protocols/jabber/Makefile.am @ 21922:d7f1231cc21a
The DIGEST-MD5 implementation of CYRUS-SASL is incompatible with the implementation in Java. The result is that we failed to authenticate to Java-based servers such as OpenFire when DIGEST-MD5 was enabled. This appears to be the result of a bug in the Java SASL library. While we -could- wait for a fix within that library and tell our users that server admins need to upgrade to get the fix, a client-side workaround is very easily accessible to us.
Our own implementation (used when compiled with SASL support) works fine. We therefore will make use of it when SASL chooses DIGEST-MD5 as the best auth mechanism.
Fixes #2095. Fixes #2186.
Also fixes http://trac.adiumx.com/ticket/8135.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 22 Dec 2007 16:59:52 +0000 |
parents | b70664a62de8 |
children | 60f5abc6cf0c 4ac5db6e39f3 1cbe5a9f6efb b4ec5481a67a |
line wrap: on
line source
EXTRA_DIST = \ Makefile.mingw \ win32/posix.uname.c \ win32/utsname.h pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) JABBERSOURCES = auth.c \ auth.h \ buddy.c \ buddy.h \ chat.c \ chat.h \ disco.c \ disco.h \ google.c \ google.h \ iq.c \ iq.h \ jabber.c \ jabber.h \ jutil.c \ jutil.h \ message.c \ message.h \ oob.c \ oob.h \ parser.c \ parser.h \ ping.c \ ping.h \ presence.c \ presence.h \ roster.c \ roster.h \ si.c \ si.h \ xdata.c \ xdata.h \ caps.c \ caps.h \ adhoccommands.c \ adhoccommands.h \ pep.c \ pep.h \ usermood.c \ usermood.h \ usernick.c \ usernick.h \ usertune.c \ usertune.h AM_CFLAGS = $(st) libxmpp_la_LDFLAGS = -module -avoid-version if STATIC_JABBER st = -DPURPLE_STATIC_PRPL noinst_LIBRARIES = libjabber.a pkg_LTLIBRARIES = libjabber_a_SOURCES = $(JABBERSOURCES) libxmpp.c libjabber_a_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = libjabber.la libxmpp.la noinst_LIBRARIES = libjabber_la_SOURCES = $(JABBERSOURCES) libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) libxmpp_la_SOURCES = libxmpp.c libxmpp_la_LIBADD = libjabber.la endif AM_CPPFLAGS = \ -I$(top_srcdir)/libpurple \ -I$(top_builddir)/libpurple \ $(DEBUG_CFLAGS) \ $(GLIB_CFLAGS) \ $(LIBXML_CFLAGS)