We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 524db90 + 160af60 commit 393fff6Copy full SHA for 393fff6
lib/Crypt/CBC.pm
@@ -661,7 +661,7 @@ sub _read_key_and_iv {
661
croak "Ciphertext does not begin with a valid header for 'randomiv' header mode" unless defined $self->{iv};
662
croak "randomiv header mode cannot be used securely when decrypting with a >8 byte block cipher.\n"
663
unless $self->blocksize == 8;
664
- (undef,$self->{key}) = $self->pbkdf_obj->key_and_iv(undef,$self->{passphrase});
+ ($self->{key},undef) = $self->pbkdf_obj->key_and_iv(undef,$self->{passphrase});
665
substr($$input_stream,0,16) = ''; # truncate
666
}
667
0 commit comments