diff --git a/Makefile.PL b/Makefile.PL index 164e2ac..dbb105b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -26,6 +26,7 @@ WriteMakefile( 'PL_FILES' => {}, 'LICENSE' => 'perl', 'PREREQ_PM' => { + 'Crypt::OpenSSL::Bignum' => 0, 'Crypt::OpenSSL::Random' => 0, }, 'TEST_REQUIRES' => { @@ -46,9 +47,6 @@ WriteMakefile( version => MM->parse_version('RSA.pm'), }, }, - recommends => { - 'Crypt::OpenSSL::Bignum' => 0, - }, configure_requires => { 'Crypt::OpenSSL::Guess' => '0.11', }, diff --git a/RSA.pm b/RSA.pm index 50d3c0e..f2abf98 100644 --- a/RSA.pm +++ b/RSA.pm @@ -4,6 +4,7 @@ use strict; use warnings; use Carp; # Removing carp will break the XS code. +use Crypt::OpenSSL::Bignum; our $VERSION = '0.37'; diff --git a/t/sig_die.t b/t/sig_die.t deleted file mode 100644 index 0e7d427..0000000 --- a/t/sig_die.t +++ /dev/null @@ -1,13 +0,0 @@ -use strict; -use Test::More; - -use lib 't/fakelib'; - -my $handler_called; -$SIG{__DIE__} = sub { ++$handler_called }; - -require Crypt::OpenSSL::RSA; - -plan tests => 1; - -ok !$handler_called, 'outer $SIG{__DIE__} handler not called';