[Zope-Checkins] CVS: Zope/lib/python/AccessControl - AuthEncoding.py:1.9

Chris Withers chrisw@nipltd.com
Mon, 6 Jan 2003 12:09:51 -0500


Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv15015

Modified Files:
	AuthEncoding.py 
Log Message:
I appear to have lost the ability to copy and paste :-(

=== Zope/lib/python/AccessControl/AuthEncoding.py 1.8 => 1.9 ===
--- Zope/lib/python/AccessControl/AuthEncoding.py:1.8	Mon Jan  6 10:05:23 2003
+++ Zope/lib/python/AccessControl/AuthEncoding.py	Mon Jan  6 12:09:49 2003
@@ -130,7 +130,7 @@
         for i in pw:
             if i == ' ' or i == '\t':
                 continue
-            nr ^= (((nr & 63) add) * ord(i)) + (nr << 8)
+            nr ^= (((nr & 63) + add) * ord(i)) + (nr << 8)
             nr2 += (nr2 << 8) ^ nr
             add += ord(i)
         r0 = nr & ((1L << 31) - 1L)