summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2008-11-12 09:40:43 +0000
committerGisle Aas <gisle@activestate.com>2008-11-12 09:40:43 +0000
commit0c8767aeceb5f1c68d6318e2c8809e9913930642 (patch)
tree25ff67086da165391c0eaeb7e68873b2d35c71ab
parentf9cff2501ba6b9a4be6d0e050b7b28b7334ed0b8 (diff)
downloadperl-0c8767aeceb5f1c68d6318e2c8809e9913930642.tar.gz
Sync up with Digest-MD5-2.37 from CPAN
p4raw-id: //depot/perl@34818
-rw-r--r--ext/Digest/MD5/Changes8
-rw-r--r--ext/Digest/MD5/MD5.pm4
-rw-r--r--ext/Digest/MD5/MD5.xs2
-rw-r--r--ext/Digest/MD5/t/files.t18
4 files changed, 19 insertions, 13 deletions
diff --git a/ext/Digest/MD5/Changes b/ext/Digest/MD5/Changes
index ce6b699107..c4d7d1fa6f 100644
--- a/ext/Digest/MD5/Changes
+++ b/ext/Digest/MD5/Changes
@@ -1,3 +1,11 @@
+2008-11-12 Gisle Aas <gisle@ActiveState.com>
+
+ Release 2.37
+
+ Sync up with consting changes from the perl core.
+
+
+
2005-11-30 Gisle Aas <gisle@ActiveState.com>
Release 2.36
diff --git a/ext/Digest/MD5/MD5.pm b/ext/Digest/MD5/MD5.pm
index e9ff18e93a..32fc1aa965 100644
--- a/ext/Digest/MD5/MD5.pm
+++ b/ext/Digest/MD5/MD5.pm
@@ -3,7 +3,7 @@ package Digest::MD5;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
-$VERSION = '2.36_01'; # $Date: 2005/11/30 13:46:47 $
+$VERSION = '2.37';
require Exporter;
*import = \&Exporter::import;
@@ -310,7 +310,7 @@ string through encode_utf8() function:
L<Digest>,
L<Digest::MD2>,
-L<Digest::SHA1>,
+L<Digest::SHA>,
L<Digest::HMAC>
L<md5sum(1)>
diff --git a/ext/Digest/MD5/MD5.xs b/ext/Digest/MD5/MD5.xs
index 1075774e14..9f3689d66a 100644
--- a/ext/Digest/MD5/MD5.xs
+++ b/ext/Digest/MD5/MD5.xs
@@ -1,5 +1,3 @@
-/* $Id: MD5.xs,v 1.45 2005/11/26 11:06:20 gisle Exp $ */
-
/*
* This library is free software; you can redistribute it and/or
* modify it under the same terms as Perl itself.
diff --git a/ext/Digest/MD5/t/files.t b/ext/Digest/MD5/t/files.t
index 5086c557f4..4c41b3279e 100644
--- a/ext/Digest/MD5/t/files.t
+++ b/ext/Digest/MD5/t/files.t
@@ -20,27 +20,27 @@ use Digest::MD5 qw(md5 md5_hex md5_base64);
my $EXPECT;
if (ord "A" == 193) { # EBCDIC
$EXPECT = <<EOT;
-c7b68bb806b2d42f4a11511132e94ae8 Changes
+f383935aa6f80a5eada3a365e0240db5 Changes
11e8028ee426273db6b6db270a8bb38c README
-c5e839f675f682215f913ea73788bc2c MD5.pm
-d4b61fd6f875dcd3e3066a3d6750010e MD5.xs
+4c1cbf9fd2ca3611f8f76c0bc559bb91 MD5.pm
+a6763f297e6346a0c541de105819b01c MD5.xs
276da0aa4e9a08b7fe09430c9c5690aa rfc1321.txt
EOT
} elsif ("\n" eq "\015") { # MacOS
$EXPECT = <<EOT;
-628699b88b6a803225678802d2470067 Changes
+531c4466c0d2e510628584f47fc5a589 Changes
c95549c6c5e1e1c078b27042f1dc850f README
-e78ad7902025d17f140bef176dc4b154 MD5.pm
-315f43d139c2ead64060d03b13b39ec5 MD5.xs
+58437b1015d43f47d78c37a2e06bc70c MD5.pm
+dd630942214a791a56d18f477f8e423e MD5.xs
754b9db19f79dbc4992f7166eb0f37ce rfc1321.txt
EOT
} else {
# This is the output of: 'md5sum Changes README MD5.pm MD5.xs rfc1321.txt'
$EXPECT = <<EOT;
-2fdc25c326960308f5334c967455d1f5 Changes
+b3fdcedb2f50b051c2a9a9009b36ae57 Changes
c95549c6c5e1e1c078b27042f1dc850f README
-e78ad7902025d17f140bef176dc4b154 MD5.pm
-ef3c87d60a88b50c60eb75af81cd244a MD5.xs
+58437b1015d43f47d78c37a2e06bc70c MD5.pm
+dd630942214a791a56d18f477f8e423e MD5.xs
754b9db19f79dbc4992f7166eb0f37ce rfc1321.txt
EOT
}