Skip to content

Commit

Permalink
fix t/session_object.t
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Jan 29, 2013
1 parent 869aab9 commit 74bfa01
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/session_object.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ use Dancer::SessionFactory::Simple;

my $ENGINE = Dancer::SessionFactory::Simple->new;

diag $ENGINE->_cprng_available
my $CPRNG_AVAIL =
Dancer::ModuleLoader->require("Math::Random::ISAAC::XS") &&
Dancer::ModuleLoader->require("Crypt::URandom");

diag $CPRNG_AVAIL
? "Crypto strength tokens"
: "Default strength tokens";

Expand Down

0 comments on commit 74bfa01

Please sign in to comment.