~mdw
/
catacomb-perl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24b5cf
)
Set IV on decryption.
author
mdw
<mdw>
Sun, 18 Apr 2004 15:05:08 +0000
(15:05 +0000)
committer
mdw
<mdw>
Sun, 18 Apr 2004 15:05:08 +0000
(15:05 +0000)
Catacomb.pm
patch
|
blob
|
blame
|
history
diff --git
a/Catacomb.pm
b/Catacomb.pm
index
20bfec2
..
35812e8
100644
(file)
--- a/
Catacomb.pm
+++ b/
Catacomb.pm
@@
-1,6
+1,6
@@
# -*-perl-*-
#
-# $Id: Catacomb.pm,v 1.
2 2004/04/08 01:36:21
mdw Exp $
+# $Id: Catacomb.pm,v 1.
3 2004/04/18 15:05:08
mdw Exp $
#
# Perl interface to Catacomb crypto library
#
@@
-165,6
+165,7
@@
sub decrypt {
$iv = undef;
}
my $c = $cc->init($k);
+ $c->setiv($iv) if defined($iv);
return $c->decrypt($p);
}