Skip to content

Commit

Permalink
* Remove redundant checks for SHA module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Heins committed Jul 12, 2013
1 parent b62cf1c commit b0f7979
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/Vend/UserDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@ no warnings qw(uninitialized numeric);

my $ready = new Vend::Safe;

my $HAVE_SHA;

eval {
require Digest::SHA;
import Digest::SHA;
$HAVE_SHA = 1;
};

if ($@) {
::logGlobal("SHA passwords disabled: $@");
}

# The object encryption methods take three arguments: object, password, and
# mystery meat. If called in the context of new_account(), the mystery meat
# is the salt (which is not always used). If called in the context of
Expand Down

0 comments on commit b0f7979

Please sign in to comment.