Bug 10786

Summary: Jabber on AMD64
Product: Sisyphus Reporter: Andriy Stepanov (stanv) <stanv>
Component: centericqAssignee: Ilya Mashkin <oddity>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

Description Andriy Stepanov (stanv) 2007-02-07 12:20:42 MSK
Jabber protocol doesn't work on AMD 64
Please applay following patch:

diff -ur centericq-4.21.0/libjabber-0.1/libxode.h
centericq-4.21.0-amd64-jabber/libjabber-0.1/libxode.h
--- centericq-4.21.0/libjabber-0.1/libxode.h    2005-02-10 03:36:26 +0300
+++ centericq-4.21.0-amd64-jabber/libjabber-0.1/libxode.h       2007-02-07
18:49:56 +0300
@@ -424,10 +424,10 @@
  */

 typedef struct {
-  unsigned long H[5];
-  unsigned long W[80];
+  uint32_t H[5];
+  uint32_t W[80];
   int lenW;
-  unsigned long sizeHi,sizeLo;
+  uint32_t sizeHi,sizeLo;
 } SHA_CTX;

Steps to Reproduce:
1.run centericq on amd 64 platform
2.try to connect to any jabber server
3.error 401
Comment 1 Ilya Mashkin 2007-02-17 00:52:37 MSK
patch applied in centericq-4.21.0-alt5