Skip to content

Commit de9da8e

Browse files
Jonas Zaddachcackharot
Jonas Zaddach
authored andcommitted
Corrected typo: sha56 -> sha256
1 parent 62106bd commit de9da8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

suds/wsse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from hashlib import sha256
2828
except ImportError:
2929
# Python 2.4 compatibility
30-
from md5 import md5 as sha56
30+
from md5 import md5 as sha256
3131

3232

3333

@@ -140,7 +140,7 @@ def setnonce(self, text=None):
140140
s.append(self.username)
141141
s.append(self.password)
142142
s.append(Token.sysdate())
143-
m = sha56()
143+
m = sha256()
144144
m.update(':'.join(s).encode("utf-8"))
145145
self.nonce = m.hexdigest()
146146
else:

0 commit comments

Comments
 (0)