[interchange] * Remove redundant checks for SHA module.
Mike Heins <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit b0f7979149fa04782c7f250b5e5ec1512d4f7bd5 Author: Mike Heins <[email protected]> Date: Fri Jul 12 10:31:49 2013 -0400 * Remove redundant checks for SHA module. lib/Vend/UserDB.pm | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) --- diff --git a/lib/Vend/UserDB.pm b/lib/Vend/UserDB.pm index ee43f08..2d7c154 100644 --- a/lib/Vend/UserDB.pm +++ b/lib/Vend/UserDB.pm @@ -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