This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Updated Digest-SHA to CPAN version 5.62
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Wed, 18 May 2011 17:42:08 +0000 (18:42 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 9 Jun 2011 11:17:08 +0000 (12:17 +0100)
  [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

Porting/Maintainers.pl
cpan/Digest-SHA/Changes
cpan/Digest-SHA/README
cpan/Digest-SHA/lib/Digest/SHA.pm
cpan/Digest-SHA/shasum
cpan/Digest-SHA/src/hmac.c
cpan/Digest-SHA/src/hmac.h
cpan/Digest-SHA/src/sha.c
cpan/Digest-SHA/src/sha.h

index e6a19d9..d321877 100755 (executable)
@@ -598,7 +598,7 @@ use File::Glob qw(:case);
     'Digest::SHA' =>
        {
        'MAINTAINER'    => 'mshelor',
     'Digest::SHA' =>
        {
        'MAINTAINER'    => 'mshelor',
-       'DISTRIBUTION'  => 'MSHELOR/Digest-SHA-5.61.tar.gz',
+       'DISTRIBUTION'  => 'MSHELOR/Digest-SHA-5.62.tar.gz',
        'FILES'         => q[cpan/Digest-SHA],
        'EXCLUDED'      => [ qw{t/pod.t t/podcover.t examples/dups} ],
        'UPSTREAM'      => 'cpan',
        'FILES'         => q[cpan/Digest-SHA],
        'EXCLUDED'      => [ qw{t/pod.t t/podcover.t examples/dups} ],
        'UPSTREAM'      => 'cpan',
index 6bcacdc..80529d3 100644 (file)
@@ -1,5 +1,9 @@
 Revision history for Perl extension Digest::SHA.
 
 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
 5.61  Wed Mar  9 05:26:36 MST 2011
        - corrected bug in 'algorithm' method
        - fixed -x option in Makefile.PL
index 3d393b5..e83311f 100644 (file)
@@ -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
 ========================
 
 Digest::SHA is a complete implementation of the NIST Secure Hash
index f809ce3..0c649c0 100644 (file)
@@ -7,7 +7,7 @@ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
 use Fcntl;
 use integer;
 
 use Fcntl;
 use integer;
 
-$VERSION = '5.61';
+$VERSION = '5.62';
 
 require Exporter;
 require DynaLoader;
 
 require Exporter;
 require DynaLoader;
@@ -28,19 +28,16 @@ require DynaLoader;
        sha512224       sha512224_base64        sha512224_hex
        sha512256       sha512256_base64        sha512256_hex);
 
        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 {
 
 eval {
-       require MIME::Base64;
        require Digest::base;
        push(@ISA, 'Digest::base');
 };
        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
 
 
 # The following routines aren't time-critical, so they can be left in Perl
 
index 0a584cc..9f3ca4f 100644 (file)
@@ -4,8 +4,8 @@
        ##
        ## Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
        ##
        ##
        ## 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
 
        ## 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;
 
 use Fcntl;
 use Getopt::Long;
 
-my $VERSION = "5.61";
+my $VERSION = "5.62";
 
 
        ## Try to use Digest::SHA.  If not installed, use the slower
 
 
        ## Try to use Digest::SHA.  If not installed, use the slower
index 12ca2a8..05c8a37 100644 (file)
@@ -5,8 +5,8 @@
  *
  * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
  *
  *
  * 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
  *
  */
 
  *
  */
 
index 9a29419..626be6e 100644 (file)
@@ -5,8 +5,8 @@
  *
  * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
  *
  *
  * 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
  *
  */
 
  *
  */
 
index 20f2d71..7020c2e 100644 (file)
@@ -5,8 +5,8 @@
  *
  * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
  *
  *
  * 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
  *
  */
 
  *
  */
 
index cb7610f..fc07432 100644 (file)
@@ -5,8 +5,8 @@
  *
  * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved
  *
  *
  * 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
  *
  */
 
  *
  */