diff options
author | schnoebe <schnoebe@pkgsrc.org> | 2011-02-06 19:46:48 +0000 |
---|---|---|
committer | schnoebe <schnoebe@pkgsrc.org> | 2011-02-06 19:46:48 +0000 |
commit | 9639ee309bbfe82c792389d3720a5df696b46f47 (patch) | |
tree | 9cee42c47243f1d84b1930a27c21fbb0378c4376 /chat/gloox/patches | |
parent | cf8fa5d3bac2ca937cf47ece46abe41d5eae322e (diff) | |
download | pkgsrc-9639ee309bbfe82c792389d3720a5df696b46f47.tar.gz |
Import gloox-1.0 into pkgsrc.
gloox is a rock-solid, full-featured Jabber/XMPP client library,
written in C++. It makes writing spec-compliant clients easy and
allows for hassle-free integration of Jabber/XMPP functionality
into existing applications.
Diffstat (limited to 'chat/gloox/patches')
-rw-r--r-- | chat/gloox/patches/patch-src_sha.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chat/gloox/patches/patch-src_sha.cpp b/chat/gloox/patches/patch-src_sha.cpp new file mode 100644 index 00000000000..80de28182d1 --- /dev/null +++ b/chat/gloox/patches/patch-src_sha.cpp @@ -0,0 +1,19 @@ +$NetBSD: patch-src_sha.cpp,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ + +# correct an SHA1 implementation error, only evident when the message +# block is exactly 56 bytes long. +# +# This has been fixed upstream in the dev branch. +# + +--- src/sha.cpp.orig 2009-10-12 09:38:59.000000000 -0500 ++++ src/sha.cpp +@@ -214,7 +214,7 @@ namespace gloox + { + Message_Block[Message_Block_Index++] = 0x80; + +- if( Message_Block_Index > 55 ) ++ if( Message_Block_Index > 56 ) + { + while( Message_Block_Index < 64 ) + { |