Commit Graph

628 Commits

Author SHA1 Message Date
Dmitry Podgorny
a981c0a733 sha1: workaround for name collision with libcrypto
src/sha1.c is used only for internal purposes. So, just add prefix
xmpp_ to the SHA1 symbols.
2014-08-31 01:47:03 +03:00
Dmitry Podgorny
b08625ef4a md5: MD5Transform should be static 2014-08-31 01:46:19 +03:00
Dmitry Podgorny
ea719cd02a SCRAM-SHA-1 authentication mechanism support 2014-08-31 00:44:08 +03:00
Dmitry Podgorny
52dcd26b8c sasl: don't use uninitialized variable
base64_decode() used uninitialized variable when unable to allocate memory.

Reported-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
2014-08-30 15:14:22 +03:00
Dmitry Podgorny
cf361d35fe auth: removed useless static declaration
_handle_open_tls() declared as static function but not defined.
2014-08-26 14:53:15 +03:00
Dmitry Podgorny
077afae693 Added tags to .gitignore
This file is generated by ctags.
2014-08-26 14:26:43 +03:00
Damian Obernikowicz
783bad0897 Fixed memory leak 2014-08-20 00:36:59 +03:00
Dmitry Podgorny
d693cc6d15 autotools: check for expat.h if pkg-config failed
Some distros provides libexpat without expat.pc. So PKG_CHECK_MODULES
fails even if libexpat is installed. To fix this AC_CHECK_HEADER added
back.
0.8.6
2014-08-08 19:49:46 +03:00
Fabian Freyer
46f371b311 autotools: cleaned up configure.ac and Makefile.am 2014-08-08 19:42:33 +03:00
Fabian Freyer
97c6e6d8d4 autotools: removed libresov check for freebsd. 2014-08-08 19:40:01 +03:00
Dmytro Podgornyi
9af64e244e examples/bot: removed non-standard strcpy_s/strcat_s
strncpy/strncat must be used instead. But in this case they don't make
sense, because string has enough space.
2014-08-08 18:27:02 +03:00
Dariusz Dwornikowski
90075b5feb Merge pull request #29 from fabianfreyer/fix-readme-homebrew
Updated homebrew install instructions
2014-08-08 15:30:19 +02:00
Fabian Freyer
519edba5de Added homebrew install instructions 2014-08-08 15:17:15 +02:00
Dariusz Dwornikowski
7255b49623 Merge pull request #16 from h0ru5/bot_fixed
patch for bot example to avoid crash when messages without type are sent
2014-08-08 08:35:51 +02:00
James Booth
2dc357438b Use dependency on libstophe.la to enable parallel make 2014-08-07 21:03:04 +01:00
Dariusz Dwornikowski
4d1c4035bd Merge pull request #27 from cicku/patch-1
Correct the libtool file
0.8.5
2014-08-07 11:32:33 +02:00
Christopher Meng
51816cd7a8 Correct the libtool file
LDFLAGS needs to be set, or the final library produced won't have dependency on the parser(expat/libxml2).

Someone has fixed the issue on SSL linking(ac886a156a), and the parser should be linked as well. Thus it will confuse the packager manager's dependency generator(At least RPM).

And, this commit also correct the usage of libtool file cflags and ldflags introduced from the commit mentioned above, as they are not the same terminology.
2014-08-07 17:17:34 +08:00
James Booth
706d691f23 Merge pull request #21 from boothj5/master
Revert "Fixed a potential buffer overflow in xmpp_stanza_to_text when th...
2014-08-06 22:09:03 +01:00
James Booth
d893f4ace0 Updated README, added libtool dependency and note about --prefix 2014-08-06 22:01:00 +01:00
James Booth
ac886a156a Added SSL_LIBS to library CFLAGS 2014-08-06 21:55:39 +01:00
Dariusz Dwornikowski
75cfad6b7d COPYING not needed line 2014-05-09 17:04:10 +02:00
Dariusz Dwornikowski
50b5e5a05b Changes to .gitignore + cosmetic changes in Makefile.am 2014-05-09 16:41:36 +02:00
Dariusz Dwornikowski
9caaaccc33 Fixes in Makefile.am 2014-05-09 11:57:43 +02:00
Dariusz Dwornikowski
ea1a6fda91 Gitignore revereted 2014-05-09 11:14:58 +02:00
Dariusz Dwornikowski
dcf6e4e30a INSTALL deleted 2014-05-07 10:03:50 +02:00
Dariusz Dwornikowski
fca2a9e170 Proper autoconf 2014-05-06 20:13:01 +02:00
James Booth
15650f16b9 Revert "Fixed a potential buffer overflow in xmpp_stanza_to_text when the stanza length was greater than the default buffer size of 1024. Tested on Windows only."
This reverts commit 4b194b98cf.
2014-04-30 21:43:50 +01:00
Dariusz Dwornikowski
c8b79a7514 README needed by autoconf 2014-04-26 12:03:14 +02:00
Dariusz Dwornikowski
843f9e75b2 Changed .gitignore to include important files 2014-04-26 12:02:40 +02:00
Dariusz Dwornikowski
ad6d3c6298 Files needed for compilation 2014-04-26 08:41:41 +02:00
Dariusz Dwornikowski
8a87a88904 Generating .so library 2014-04-25 19:23:04 +02:00
Dariusz Dwornikowski
287f8aa4d4 Files needed by autoreconf and co. 2014-04-25 19:22:45 +02:00
Dariusz Dwornikowski
49de94f28e debian/ deleted to prepare for proper packaging 2014-04-25 19:12:25 +02:00
Jack Moffitt
9c18a695f7 Merge pull request #19 from tpetazzoni/configure-fix
configure.ac: fix misdetection of libxml2
2014-04-21 14:17:36 -06:00
Thomas Petazzoni
25d37622b8 configure.ac: fix misdetection of libxml2
A small typo in the detection of libxml2 leads to a successful
pkg-config discovery of libxml2 to be ignored. As a consequence,
configure.ac falls back to detecting the host libxml2, which does not
work in cross-compilation situation. This commit fixes this small
typo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-21 22:00:42 +02:00
h0ru5
4111cf772a patch to avoid crash when messages without type are sent 2014-01-06 22:46:16 +01:00
Jack Moffitt
d408eaf2bb Merge pull request #11 from lbdroid/master
dos characters break rpm build. Dos2unix on the spec file.
2013-11-07 18:25:09 -08:00
lbdroid
18286e24d7 dos characters break rpm build. Dos2unix on the spec file. 2013-10-03 13:09:35 -04:00
Jack Moffitt
b422446d58 Merge pull request #8 from kassak/upstream_fixes
Upstream fixes
2013-09-07 06:43:11 -07:00
Alexander Kass
03b6e90b94 warning fix 2013-09-07 11:58:16 +04:00
Alexander Kass
badebfa840 standard memset error
size of pointer instead of object
2013-09-07 11:58:16 +04:00
Alexander Kass
55b6da74d8 len should be signed 2013-09-07 11:58:16 +04:00
Jack Moffitt
8698c1b852 Merge pull request #5 from sharjeelaziz/master
Fixed a potential buffer overflow in xmpp_stanza_to_text when the stanza...
2013-07-31 08:11:07 -07:00
Sharjeel Aziz
4b194b98cf Fixed a potential buffer overflow in xmpp_stanza_to_text when the stanza length was greater than the default buffer size of 1024. Tested on Windows only. 2013-07-31 10:33:52 -04:00
Jack Moffitt
a2a50d104a Merge pull request #2 from dlo/patch-1
restore README to original version
2013-06-10 14:27:48 -07:00
Florent Peterschmitt
c1b40d3efb procedure to build RPM 2013-05-31 16:48:13 +02:00
Florent Peterschmitt
f51febedff libstrophe.spec -> rpm/libstrophe.spec 2013-05-31 16:42:58 +02:00
Florent
6238cc3ebe oops, arch must be all 2013-05-31 11:40:02 +02:00
Florent
b07786d60f debian package 2013-05-31 11:06:28 +02:00
Dan Loewenherz
d5a7ef84fb restore README to original version
It was replaced in the repository move.
2013-05-28 13:26:01 -07:00