summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2012-11-04 12:56:46 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2012-11-04 12:56:46 +0000
commit2ff8a1aea84b68525501d23a8d529b2422ddd0f7 (patch)
tree3f58fc87d014728754b89a3686a2e816ac6d1e98 /cpan
parent96fede0c5b57267b0fe2f3cbd23df69ed4ff6791 (diff)
downloadperl-2ff8a1aea84b68525501d23a8d529b2422ddd0f7.tar.gz
Update Digest-SHA to CPAN version 5.73
[DELTA] 5.73 Wed Oct 31 04:32:44 MST 2012 - provided workaround for DEC compiler bug (ref. Makefile.PL)
Diffstat (limited to 'cpan')
-rw-r--r--cpan/Digest-SHA/Changes3
-rw-r--r--cpan/Digest-SHA/Makefile.PL2
-rw-r--r--cpan/Digest-SHA/README2
-rw-r--r--cpan/Digest-SHA/lib/Digest/SHA.pm2
-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.c6
-rw-r--r--cpan/Digest-SHA/src/sha.h4
9 files changed, 18 insertions, 15 deletions
diff --git a/cpan/Digest-SHA/Changes b/cpan/Digest-SHA/Changes
index 99c0b5befc..f0fb0c4c27 100644
--- a/cpan/Digest-SHA/Changes
+++ b/cpan/Digest-SHA/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Digest::SHA.
+5.73 Wed Oct 31 04:32:44 MST 2012
+ - provided workaround for DEC compiler bug (ref. Makefile.PL)
+
5.72 Mon Sep 24 15:22:08 MST 2012
- adjusted module installation directory for later Perls
-- As of 5.11 Perl searches 'site' first, so use that
diff --git a/cpan/Digest-SHA/Makefile.PL b/cpan/Digest-SHA/Makefile.PL
index e9f4986fc6..a3a4caab72 100644
--- a/cpan/Digest-SHA/Makefile.PL
+++ b/cpan/Digest-SHA/Makefile.PL
@@ -25,7 +25,7 @@ if ($Config{archname} =~ /^i[3456]86/) {
}
my $define = join(' ', @defines);
- # Workaround for DEC compiler bug, adopted from Digest::MD5
+ # Workaround for DEC compiler bug, adapted from Digest::MD5
my @extra = ();
if ($^O eq 'VMS') {
diff --git a/cpan/Digest-SHA/README b/cpan/Digest-SHA/README
index a2b1f564ae..cf04631dae 100644
--- a/cpan/Digest-SHA/README
+++ b/cpan/Digest-SHA/README
@@ -1,4 +1,4 @@
-Digest::SHA version 5.72
+Digest::SHA version 5.73
========================
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 4b36acaf98..a341991d35 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.72_01';
+$VERSION = '5.73';
require Exporter;
require DynaLoader;
diff --git a/cpan/Digest-SHA/shasum b/cpan/Digest-SHA/shasum
index 45431de280..12d2ca5c04 100644
--- a/cpan/Digest-SHA/shasum
+++ b/cpan/Digest-SHA/shasum
@@ -4,8 +4,8 @@
##
## Copyright (C) 2003-2012 Mark Shelor, All Rights Reserved
##
- ## Version: 5.72
- ## Mon Sep 24 15:22:08 MST 2012
+ ## Version: 5.73
+ ## Wed Oct 31 04:32:44 MST 2012
## shasum SYNOPSIS adapted from GNU Coreutils sha1sum.
## Add an "-a" option for algorithm selection, a "-p"
@@ -97,7 +97,7 @@ use strict;
use Fcntl;
use Getopt::Long;
-my $VERSION = "5.72";
+my $VERSION = "5.73";
## 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 8656fe050a..c6ab0a00b8 100644
--- a/cpan/Digest-SHA/src/hmac.c
+++ b/cpan/Digest-SHA/src/hmac.c
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2012 Mark Shelor, All Rights Reserved
*
- * Version: 5.72
- * Mon Sep 24 15:22:08 MST 2012
+ * Version: 5.73
+ * Wed Oct 31 04:32:44 MST 2012
*
*/
diff --git a/cpan/Digest-SHA/src/hmac.h b/cpan/Digest-SHA/src/hmac.h
index 718887b054..99d6502ff6 100644
--- a/cpan/Digest-SHA/src/hmac.h
+++ b/cpan/Digest-SHA/src/hmac.h
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2012 Mark Shelor, All Rights Reserved
*
- * Version: 5.72
- * Mon Sep 24 15:22:08 MST 2012
+ * Version: 5.73
+ * Wed Oct 31 04:32:44 MST 2012
*
*/
diff --git a/cpan/Digest-SHA/src/sha.c b/cpan/Digest-SHA/src/sha.c
index 8a1e6daf70..d4d8862b2f 100644
--- a/cpan/Digest-SHA/src/sha.c
+++ b/cpan/Digest-SHA/src/sha.c
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2012 Mark Shelor, All Rights Reserved
*
- * Version: 5.72
- * Mon Sep 24 15:22:08 MST 2012
+ * Version: 5.73
+ * Wed Oct 31 04:32:44 MST 2012
*
*/
@@ -216,7 +216,7 @@ static void sha256(SHA *s, UCHR *block) /* SHA-224/256 transform */
#define SETBIT(s, pos) s[(pos) >> 3] |= (0x01 << (7 - (pos) % 8))
#define CLRBIT(s, pos) s[(pos) >> 3] &= ~(0x01 << (7 - (pos) % 8))
-#define NBYTES(nbits) ((nbits) > 0 ? 1 + (((nbits) - 1) >> 3) : 0)
+#define NBYTES(nbits) (((nbits) + 7) >> 3)
#define HEXLEN(nbytes) ((nbytes) << 1)
#define B64LEN(nbytes) (((nbytes) % 3 == 0) ? ((nbytes) / 3) * 4 \
: ((nbytes) / 3) * 4 + ((nbytes) % 3) + 1)
diff --git a/cpan/Digest-SHA/src/sha.h b/cpan/Digest-SHA/src/sha.h
index c7aa873f67..a27b566deb 100644
--- a/cpan/Digest-SHA/src/sha.h
+++ b/cpan/Digest-SHA/src/sha.h
@@ -5,8 +5,8 @@
*
* Copyright (C) 2003-2012 Mark Shelor, All Rights Reserved
*
- * Version: 5.72
- * Mon Sep 24 15:22:08 MST 2012
+ * Version: 5.73
+ * Wed Oct 31 04:32:44 MST 2012
*
*/