summaryrefslogtreecommitdiff
path: root/cpan/Digest-SHA
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-05-18 18:42:08 +0100
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-06-09 12:17:08 +0100
commite7a1ec001f9096b20c7220c6a516b68e559262af (patch)
tree5c76895f05b762da59ca03a5381f97a160241fad /cpan/Digest-SHA
parent5bc9579e19a19164d880cf1d66db5f908d4a64c7 (diff)
downloadperl-e7a1ec001f9096b20c7220c6a516b68e559262af.tar.gz
Updated Digest-SHA to CPAN version 5.62
[DELTA] 5.62 Sat May 14 04:00:34 MST 2011 - removed unnecessary loading of MIME::Base64 module -- thanks to dolmen for pointing this out
Diffstat (limited to 'cpan/Digest-SHA')
-rw-r--r--cpan/Digest-SHA/Changes4
-rw-r--r--cpan/Digest-SHA/README2
-rw-r--r--cpan/Digest-SHA/lib/Digest/SHA.pm15
-rw-r--r--cpan/Digest-SHA/shasum6
-rw-r--r--cpan/Digest-SHA/src/hmac.c4
-rw-r--r--cpan/Digest-SHA/src/hmac.h4
-rw-r--r--cpan/Digest-SHA/src/sha.c4
-rw-r--r--cpan/Digest-SHA/src/sha.h4
8 files changed, 22 insertions, 21 deletions
diff --git a/cpan/Digest-SHA/Changes b/cpan/Digest-SHA/Changes
index 6bcacdc2a3..80529d3c2a 100644
--- a/cpan/Digest-SHA/Changes
+++ b/cpan/Digest-SHA/Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension Digest::SHA.
+5.62 Sat May 14 04:00:34 MST 2011
+ - removed unnecessary loading of MIME::Base64 module
+ -- thanks to dolmen for pointing this out
+
5.61 Wed Mar 9 05:26:36 MST 2011
- corrected bug in 'algorithm' method
- fixed -x option in Makefile.PL
diff --git a/cpan/Digest-SHA/README b/cpan/Digest-SHA/README
index 3d393b551a..e83311f859 100644
--- a/cpan/Digest-SHA/README
+++ b/cpan/Digest-SHA/README
@@ -1,4 +1,4 @@
-Digest::SHA version 5.61
+Digest::SHA version 5.62
========================
Digest::SHA is a complete implementation of the NIST Secure Hash
diff --git a/cpan/Digest-SHA/lib/Digest/SHA.pm b/cpan/Digest-SHA/lib/Digest/SHA.pm
index f809ce3afb..0c649c087c 100644
--- a/cpan/Digest-SHA/lib/Digest/SHA.pm
+++ b/cpan/Digest-SHA/lib/Digest/SHA.pm
@@ -7,7 +7,7 @@ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
use Fcntl;
use integer;
-$VERSION = '5.61';
+$VERSION = '5.62';
require Exporter;
require DynaLoader;
@@ -28,19 +28,16 @@ require DynaLoader;
sha512224 sha512224_base64 sha512224_hex
sha512256 sha512256_base64 sha512256_hex);
-# If possible, inherit from Digest::base (which depends on MIME::Base64)
-
-*addfile = \&Addfile;
+# If possible, inherit from Digest::base
eval {
- require MIME::Base64;
require Digest::base;
push(@ISA, 'Digest::base');
};
-if ($@) {
- *hexdigest = \&Hexdigest;
- *b64digest = \&B64digest;
-}
+
+*addfile = \&Addfile;
+*hexdigest = \&Hexdigest;
+*b64digest = \&B64digest;
# The following routines aren't time-critical, so they can be left in Perl
diff --git a/cpan/Digest-SHA/shasum b/cpan/Digest-SHA/shasum
index 0a584cca0e..9f3ca4f22c 100644
--- a/cpan/Digest-SHA/shasum
+++ b/cpan/Digest-SHA/shasum
@@ -4,8 +4,8 @@
##
## Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
##
- ## Version: 5.61
- ## Wed Mar 9 05:26:36 MST 2011
+ ## Version: 5.62
+ ## Sat May 14 04:00:34 MST 2011
## shasum SYNOPSIS adapted from GNU Coreutils sha1sum.
## Include an "-a" option for algorithm selection, and a
@@ -85,7 +85,7 @@ use strict;
use Fcntl;
use Getopt::Long;
-my $VERSION = "5.61";
+my $VERSION = "5.62";
## Try to use Digest::SHA. If not installed, use the slower
diff --git a/cpan/Digest-SHA/src/hmac.c b/cpan/Digest-SHA/src/hmac.c
index 12ca2a80ae..05c8a371c4 100644
--- a/cpan/Digest-SHA/src/hmac.c
+++ b/cpan/Digest-SHA/src/hmac.c
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
*
- * Version: 5.61
- * Wed Mar 9 05:26:36 MST 2011
+ * Version: 5.62
+ * Sat May 14 04:00:34 MST 2011
*
*/
diff --git a/cpan/Digest-SHA/src/hmac.h b/cpan/Digest-SHA/src/hmac.h
index 9a29419cb7..626be6e968 100644
--- a/cpan/Digest-SHA/src/hmac.h
+++ b/cpan/Digest-SHA/src/hmac.h
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
*
- * Version: 5.61
- * Wed Mar 9 05:26:36 MST 2011
+ * Version: 5.62
+ * Sat May 14 04:00:34 MST 2011
*
*/
diff --git a/cpan/Digest-SHA/src/sha.c b/cpan/Digest-SHA/src/sha.c
index 20f2d7157e..7020c2ee02 100644
--- a/cpan/Digest-SHA/src/sha.c
+++ b/cpan/Digest-SHA/src/sha.c
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
*
- * Version: 5.61
- * Wed Mar 9 05:26:36 MST 2011
+ * Version: 5.62
+ * Sat May 14 04:00:34 MST 2011
*
*/
diff --git a/cpan/Digest-SHA/src/sha.h b/cpan/Digest-SHA/src/sha.h
index cb7610ff43..fc074325c0 100644
--- a/cpan/Digest-SHA/src/sha.h
+++ b/cpan/Digest-SHA/src/sha.h
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
*
- * Version: 5.61
- * Wed Mar 9 05:26:36 MST 2011
+ * Version: 5.62
+ * Sat May 14 04:00:34 MST 2011
*
*/