Skip to content

Commit

Permalink
perltidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
david-dick committed Jan 4, 2025
1 parent d22d1f6 commit 272fb53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/Crypt/URandom.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ BEGIN {
## no critic (ProhibitConstantPragma)
# using constant for the speed benefit of constant-folding of values

use constant CRYPT_SILENT => 64; # hex 40
use constant CRYPT_SILENT => 64; # hex 40
use constant PROV_RSA_FULL => 1;
use constant VERIFY_CONTEXT => 4_026_531_840; # hex 'F0000000'
use constant VERIFY_CONTEXT => 4_026_531_840; # hex 'F0000000'
use constant W2K_MAJOR_VERSION => 5;
use constant W2K_MINOR_VERSION => 0;
use constant OS_FREEBSD => $OSNAME eq 'freebsd';
use constant OS_WIN32 => $OSNAME eq 'MSWin32';
use constant PATH => do {
use constant OS_FREEBSD => $OSNAME eq 'freebsd';
use constant OS_WIN32 => $OSNAME eq 'MSWin32';
use constant PATH => do {
my $path = '/dev/urandom';
if ( OS_FREEBSD() ) {
$path = '/dev/random'; # FreeBSD's /dev/random is non-blocking
Expand Down

0 comments on commit 272fb53

Please sign in to comment.