mirror of
https://codeberg.org/scip/Crypt--PWSafe3.git
synced 2025-12-17 04:31:00 +01:00
Don't need Crypt::Random if Bytes::Random::Secure is available
Crypt::PWSafe3 already prefers Bytes::Random::Secure over Crypt::Random but still has a hard dependency on it, via an unconditional "use Crypt::Random". This is no longer necessary since Crypt::Random will be require-d if a suitably recent version of Bytes::Random::Secure cannot be found. The Makefile.PL is also updated to reflect this approach.
This commit is contained in:
@@ -21,7 +21,6 @@ use Crypt::ECB;
|
||||
use Crypt::Twofish;
|
||||
use Digest::HMAC;
|
||||
use Digest::SHA;
|
||||
use Crypt::Random qw( makerandom );
|
||||
use Data::UUID;
|
||||
use File::Copy qw(copy move);
|
||||
use File::Temp;
|
||||
|
||||
Reference in New Issue
Block a user