tags 766675 patch
thanks

Hi,

Attached is is a debdiff to fix the issue and generate the next Debian
package.

Regards,
-- 
Carl Chenet

Blog : https://carlchenet.com
https://identi.ca/carlchenet | https://twitter.com/carl_chenet
FOSS contributions : https://www.ohloh.net/accounts/chaica
diff -Nru gajim-0.16/debian/changelog gajim-0.16/debian/changelog
--- gajim-0.16/debian/changelog 2014-10-17 17:05:30.000000000 +0200
+++ gajim-0.16/debian/changelog 2015-03-03 18:14:12.000000000 +0100
@@ -1,3 +1,12 @@
+gajim (0.16-2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches:
+     - exception-openssl-debian-766675.patch: remove openssl
+       warnings(Closes #766675) 
+
+ -- Carl Chenet <cha...@debian.org>  Tue, 03 Mar 2015 18:11:30 +0100
+
 gajim (0.16-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #729042, #757570)
diff -Nru gajim-0.16/debian/patches/exception-openssl-debian-766675.patch 
gajim-0.16/debian/patches/exception-openssl-debian-766675.patch
--- gajim-0.16/debian/patches/exception-openssl-debian-766675.patch     
1970-01-01 01:00:00.000000000 +0100
+++ gajim-0.16/debian/patches/exception-openssl-debian-766675.patch     
2015-03-03 18:05:41.000000000 +0100
@@ -0,0 +1,13 @@
+Index: gajim-0.16/src/common/stanza_session.py
+===================================================================
+--- gajim-0.16.orig/src/common/stanza_session.py
++++ gajim-0.16/src/common/stanza_session.py
+@@ -952,7 +952,7 @@ class EncryptedStanzaSession(ArchivingSt
+ 
+             if not rshashes:
+                 # we've never spoken before, but we'll pretend we have
+-                rshash_size = self.hash_alg().digest_size
++                rshash_size = int(self.hash_alg().digest_size)
+                 rshashes.append(crypto.random_bytes(rshash_size))
+ 
+             rshashes = [base64.b64encode(rshash).decode('utf-8') for rshash 
in \
diff -Nru gajim-0.16/debian/patches/series gajim-0.16/debian/patches/series
--- gajim-0.16/debian/patches/series    2014-10-17 16:37:58.000000000 +0200
+++ gajim-0.16/debian/patches/series    2015-03-03 18:14:25.000000000 +0100
@@ -1 +1,2 @@
 fix-manpages.patch
+exception-openssl-debian-766675.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to