corrected hashlib-patch
This commit is contained in:
parent
7935a1fb2b
commit
aba957cf98
2 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
AUX pymsn-t-0.11.3-delete-reactor.patch 361 RMD160 ef4d492ea177658d7f7e867ef11bab3dde273164 SHA1 4a01f2fc80c287da13422532b2c75ccafa012ae0 SHA256 d989d06d9e94f1a2786dfa51e1cf715e4dc0db95583b08ce606b555aef017bae
|
AUX pymsn-t-0.11.3-delete-reactor.patch 361 RMD160 ef4d492ea177658d7f7e867ef11bab3dde273164 SHA1 4a01f2fc80c287da13422532b2c75ccafa012ae0 SHA256 d989d06d9e94f1a2786dfa51e1cf715e4dc0db95583b08ce606b555aef017bae
|
||||||
AUX pymsn-t-0.11.3-hashlib.patch 790 RMD160 c3c98536843373f2ff76688bb356171070569740 SHA1 128cf6c5902305585abdb1ac03f9146042d625be SHA256 c211374d0fe79c0e03495e86e13786fa2673f3179cdcd5965a5edb7aaf4f4f2a
|
AUX pymsn-t-0.11.3-hashlib.patch 875 RMD160 34f46eb4b62945f96abe5ccdad76f23934ed9690 SHA1 54002add8f571e16612a1d1176c4ed88d9692cc1 SHA256 390076d5a1d6509008f517d3a25bfa74ba6078a22b849245409e263c3af89fea
|
||||||
AUX pymsn-t-0.11.3-initd 683 RMD160 7dfd35f2d31800e04ffd764efc1b65845311d32f SHA1 878d12e1d722d97eca2a9ba001e2dcc8797b4ceb SHA256 df24c7a7f4e8eb394daea3a5b79b0a861f72a2b56ec5c52871fb514d731231b2
|
AUX pymsn-t-0.11.3-initd 683 RMD160 7dfd35f2d31800e04ffd764efc1b65845311d32f SHA1 878d12e1d722d97eca2a9ba001e2dcc8797b4ceb SHA256 df24c7a7f4e8eb394daea3a5b79b0a861f72a2b56ec5c52871fb514d731231b2
|
||||||
AUX pymsn-t-0.11.3-protocol-version.patch 609 RMD160 f7cc7e2f6829861f11016db35a98396d5a0cd7c8 SHA1 7144ebaac17a61767aee92ef1b4e972c86eb5325 SHA256 008aedc95f1c2020a156d941c74784ca1385f12426342885fa7ff8474365b5a3
|
AUX pymsn-t-0.11.3-protocol-version.patch 609 RMD160 f7cc7e2f6829861f11016db35a98396d5a0cd7c8 SHA1 7144ebaac17a61767aee92ef1b4e972c86eb5325 SHA256 008aedc95f1c2020a156d941c74784ca1385f12426342885fa7ff8474365b5a3
|
||||||
AUX pymsn-t-0.11.3-remove-pid.patch 1173 RMD160 53c9e2cfc63cd86fd5680059e47caa268802cfc0 SHA1 a6dac3945731183f4821e7f09852f17de3aa850a SHA256 b4a09f2af01f752a2703d14204cb954a0641afedb1be391f1b9f6f980b234845
|
AUX pymsn-t-0.11.3-remove-pid.patch 1173 RMD160 53c9e2cfc63cd86fd5680059e47caa268802cfc0 SHA1 a6dac3945731183f4821e7f09852f17de3aa850a SHA256 b4a09f2af01f752a2703d14204cb954a0641afedb1be391f1b9f6f980b234845
|
||||||
|
|
|
@ -1,15 +1,18 @@
|
||||||
diff -ru pymsnt-0.11.3-vanilla/src/utils.py pymsnt-0.11.3/src/utils.py
|
diff -ru pymsnt-0.11.3-vanilla/src/utils.py pymsnt-0.11.3/src/utils.py
|
||||||
--- pymsnt-0.11.3-vanilla/src/utils.py 2008-02-08 14:55:07.000000000 +0100
|
--- pymsnt-0.11.3-vanilla/src/utils.py 2008-02-08 14:55:07.000000000 +0100
|
||||||
+++ pymsnt-0.11.3/src/utils.py 2010-08-15 21:46:32.000000000 +0200
|
+++ pymsnt-0.11.3/src/utils.py 2010-08-15 22:12:36.000000000 +0200
|
||||||
@@ -7,7 +7,7 @@
|
@@ -7,9 +7,9 @@
|
||||||
return el.getAttribute((u'http://www.w3.org/XML/1998/namespace', u'lang'))
|
return el.getAttribute((u'http://www.w3.org/XML/1998/namespace', u'lang'))
|
||||||
|
|
||||||
|
|
||||||
-import sha
|
-import sha
|
||||||
+from hashlib import sha
|
+from hashlib import sha1
|
||||||
def socks5Hash(sid, initiator, target):
|
def socks5Hash(sid, initiator, target):
|
||||||
return sha.new("%s%s%s" % (sid, initiator, target)).hexdigest()
|
- return sha.new("%s%s%s" % (sid, initiator, target)).hexdigest()
|
||||||
|
+ return sha1.new("%s%s%s" % (sid, initiator, target)).hexdigest()
|
||||||
|
|
||||||
|
|
||||||
|
import urllib
|
||||||
diff -ru pymsnt-0.11.3-vanilla/src/xdb.py pymsnt-0.11.3/src/xdb.py
|
diff -ru pymsnt-0.11.3-vanilla/src/xdb.py pymsnt-0.11.3/src/xdb.py
|
||||||
--- pymsnt-0.11.3-vanilla/src/xdb.py 2008-02-08 14:55:07.000000000 +0100
|
--- pymsnt-0.11.3-vanilla/src/xdb.py 2008-02-08 14:55:07.000000000 +0100
|
||||||
+++ pymsnt-0.11.3/src/xdb.py 2010-08-15 21:46:57.000000000 +0200
|
+++ pymsnt-0.11.3/src/xdb.py 2010-08-15 21:46:57.000000000 +0200
|
||||||
|
|
Loading…
Reference in a new issue