gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25645 - gnunet-update/src/gnunet_update


From: gnunet
Subject: [GNUnet-SVN] r25645 - gnunet-update/src/gnunet_update
Date: Mon, 24 Dec 2012 19:36:04 +0100

Author: harsha
Date: 2012-12-24 19:36:04 +0100 (Mon, 24 Dec 2012)
New Revision: 25645

Modified:
   gnunet-update/src/gnunet_update/util.py
Log:
- fix

Modified: gnunet-update/src/gnunet_update/util.py
===================================================================
--- gnunet-update/src/gnunet_update/util.py     2012-12-24 18:29:36 UTC (rev 
25644)
+++ gnunet-update/src/gnunet_update/util.py     2012-12-24 18:36:04 UTC (rev 
25645)
@@ -440,7 +440,7 @@
         self.iv = bytearray (self.IV_SIZE)
         if (len (passphrase) > self.KEY_SIZE):
             self.key = passphrase[:self.KEY_SIZE]
-            passphrase = passphrase[:self.KEY_SIZE]
+            passphrase = passphrase[self.KEY_SIZE:]
             if (len (passphrase) > self.IV_SIZE):
                 self.iv = passphrase[:self.IV_SIZE]
             else:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]