<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10786</bug_id>
          
          <creation_ts>2007-02-07 12:20:41 +0300</creation_ts>
          <short_desc>Jabber on AMD64</short_desc>
          <delta_ts>2007-02-17 00:52:37 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>centericq</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andriy Stepanov (stanv)">stanv</reporter>
          <assigned_to name="Ilya Mashkin">oddity</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45109</commentid>
    <comment_count>0</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2007-02-07 12:20:42 +0300</bug_when>
    <thetext>Jabber protocol doesn&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45432</commentid>
    <comment_count>1</comment_count>
    <who name="Ilya Mashkin">oddity</who>
    <bug_when>2007-02-17 00:52:37 +0300</bug_when>
    <thetext>patch applied in centericq-4.21.0-alt5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>