git://developer.intra2net.com
/
python-delta-tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
unit test detection of non-consecutive ivs
[python-delta-tar]
/
deltatar
/
crypto.py
diff --git
a/deltatar/crypto.py
b/deltatar/crypto.py
index
53150f1
..
d18d406
100755
(executable)
--- a/
deltatar/crypto.py
+++ b/
deltatar/crypto.py
@@
-1367,7
+1367,7
@@
class Decrypt (Crypto):
and self.last_iv [1] != cnt - 1:
raise NonConsecutiveIV ("iv %s counter not successor of "
"last object (expected %d, found %d)"
- % (fixed, iv_fmt (self.last_iv [1]), cnt))
+ % (iv_fmt (iv), self.last_iv [1], cnt))
self.last_iv = (fixed, cnt)