summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/Digest/SHA/Changes8
-rw-r--r--ext/Digest/SHA/README2
-rw-r--r--ext/Digest/SHA/SHA.pm17
-rw-r--r--ext/Digest/SHA/SHA.xs2
-rwxr-xr-xext/Digest/SHA/bin/shasum6
-rw-r--r--ext/Digest/SHA/src/hmac.c4
-rw-r--r--ext/Digest/SHA/src/hmac.h4
-rw-r--r--ext/Digest/SHA/src/sha.c4
-rw-r--r--ext/Digest/SHA/src/sha.h4
9 files changed, 28 insertions, 23 deletions
diff --git a/ext/Digest/SHA/Changes b/ext/Digest/SHA/Changes
index 42bce4f8d5..c630084715 100644
--- a/ext/Digest/SHA/Changes
+++ b/ext/Digest/SHA/Changes
@@ -1,5 +1,13 @@
Revision history for Perl extension Digest::SHA.
+5.44 Sat Oct 14 00:42:44 MST 2006
+ - removed SIGNATURE file from distribution
+ -- spurious errors from CPANPLUS can break build
+ - eliminated ppport.h header file
+ -- significantly reduces size of distribution
+ - modified C functions in src/hmac.c to use ANSI prototypes
+ -- thanks to Jarkko Hietaniemi for patch
+
5.43 Sat Aug 5 02:36:18 MST 2006
- undid Perl Best Practice of favoring 3-argument "open"
-- 3-arg version uses different semantics for "-"
diff --git a/ext/Digest/SHA/README b/ext/Digest/SHA/README
index 550f7bca60..050964b392 100644
--- a/ext/Digest/SHA/README
+++ b/ext/Digest/SHA/README
@@ -1,4 +1,4 @@
-Digest::SHA version 5.43
+Digest::SHA version 5.44
========================
Digest::SHA is a complete implementation of the NIST Secure Hash
diff --git a/ext/Digest/SHA/SHA.pm b/ext/Digest/SHA/SHA.pm
index 48a720848a..c2049b7942 100644
--- a/ext/Digest/SHA/SHA.pm
+++ b/ext/Digest/SHA/SHA.pm
@@ -6,7 +6,7 @@ use strict;
use warnings;
use integer;
-our $VERSION = '5.43_01';
+our $VERSION = '5.44';
require Exporter;
our @ISA = qw(Exporter);
@@ -323,17 +323,16 @@ the larger and stronger hash functions.>
ref. L<http://www.csrc.nist.gov/pki/HashWorkshop/NIST%20Statement/Burr_Mar2005.html>
-=head1 BASE64 DIGESTS
+=head1 PADDING OF BASE64 DIGESTS
-By convention, CPAN Digest modules do not pad their Base64 output.
-This means that Base64 digests contain no trailing "=" characters.
-Unfortunately, problems can occur when feeding such digests to other
-software that expects properly padded Base64 encodings.
+By convention, CPAN Digest modules do B<not> pad their Base64 output.
+Problems can occur when feeding such digests to other software that
+expects properly padded Base64 encodings.
For the time being, any necessary padding must be done by the user.
-Fortunately, the rule for accomplishing it is straightforward: if the
-length of a Base64-encoded digest isn't a multiple of 4, simply append
-1 or more "=" characters to the end of the digest until it is:
+Fortunately, this is a simple operation: if the length of a Base64-encoded
+digest isn't a multiple of 4, simply append "=" characters to the end
+of the digest until it is:
while (length($b64_digest) % 4) {
$b64_digest .= '=';
diff --git a/ext/Digest/SHA/SHA.xs b/ext/Digest/SHA/SHA.xs
index a1b678b737..c045da52f8 100644
--- a/ext/Digest/SHA/SHA.xs
+++ b/ext/Digest/SHA/SHA.xs
@@ -2,8 +2,6 @@
#include "perl.h"
#include "XSUB.h"
-#include "ppport.h"
-
#include <src/sha.c>
#include <src/hmac.c>
diff --git a/ext/Digest/SHA/bin/shasum b/ext/Digest/SHA/bin/shasum
index 101afcf59c..dc30a9e911 100755
--- a/ext/Digest/SHA/bin/shasum
+++ b/ext/Digest/SHA/bin/shasum
@@ -4,8 +4,8 @@
#
# Copyright (C) 2003-2006 Mark Shelor, All Rights Reserved
#
- # Version: 5.43
- # Sat Aug 5 02:36:18 MST 2006
+ # Version: 5.44
+ # Sat Oct 14 00:42:44 MST 2006
=head1 NAME
@@ -52,7 +52,7 @@ L<Digest::SHA::PurePerl>.
use strict;
use Getopt::Long;
-my $VERSION = "5.43";
+my $VERSION = "5.44";
# Try to use Digest::SHA, since it's faster. If not installed,
diff --git a/ext/Digest/SHA/src/hmac.c b/ext/Digest/SHA/src/hmac.c
index 4fd7610de0..bb3bf24117 100644
--- a/ext/Digest/SHA/src/hmac.c
+++ b/ext/Digest/SHA/src/hmac.c
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2006 Mark Shelor, All Rights Reserved
*
- * Version: 5.43
- * Sat Aug 5 02:36:18 MST 2006
+ * Version: 5.44
+ * Sat Oct 14 00:42:44 MST 2006
*
*/
diff --git a/ext/Digest/SHA/src/hmac.h b/ext/Digest/SHA/src/hmac.h
index 4a80501c62..1131358e75 100644
--- a/ext/Digest/SHA/src/hmac.h
+++ b/ext/Digest/SHA/src/hmac.h
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2006 Mark Shelor, All Rights Reserved
*
- * Version: 5.43
- * Sat Aug 5 02:36:18 MST 2006
+ * Version: 5.44
+ * Sat Oct 14 00:42:44 MST 2006
*
*/
diff --git a/ext/Digest/SHA/src/sha.c b/ext/Digest/SHA/src/sha.c
index d5d7aad635..d6b5302b23 100644
--- a/ext/Digest/SHA/src/sha.c
+++ b/ext/Digest/SHA/src/sha.c
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2006 Mark Shelor, All Rights Reserved
*
- * Version: 5.43
- * Sat Aug 5 02:36:18 MST 2006
+ * Version: 5.44
+ * Sat Oct 14 00:42:44 MST 2006
*
*/
diff --git a/ext/Digest/SHA/src/sha.h b/ext/Digest/SHA/src/sha.h
index 305f5d6bd4..1f5cca0f4b 100644
--- a/ext/Digest/SHA/src/sha.h
+++ b/ext/Digest/SHA/src/sha.h
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2006 Mark Shelor, All Rights Reserved
*
- * Version: 5.43
- * Sat Aug 5 02:36:18 MST 2006
+ * Version: 5.44
+ * Sat Oct 14 00:42:44 MST 2006
*
*/