'Digest::SHA' => {
'MAINTAINER' => 'mshelor',
- 'DISTRIBUTION' => 'MSHELOR/Digest-SHA-5.84.tar.gz',
+ 'DISTRIBUTION' => 'MSHELOR/Digest-SHA-5.85.tar.gz',
'FILES' => q[cpan/Digest-SHA],
'EXCLUDED' => [
qw( t/pod.t
Revision history for Perl extension Digest::SHA.
+5.85 Wed Jun 26 04:05:26 MST 2013
+ - workaround for repeated calls to shaclose (ref. Bug #86295)
+ -- need to explicitly reset internal pointer to NULL
+ ref. shaclose() in SHA.xs
+ - corrected typos in shasum script
+ -- ref. Bug #85430
+
5.84 Sat Mar 9 17:36:08 MST 2013
- untweaked Makefile.PL to remove dependencies of SHA.c
-- dependencies were breaking builds on VMS
-Digest::SHA version 5.84
+Digest::SHA version 5.85
========================
Digest::SHA is a complete implementation of the NIST Secure Hash
int
shaclose(s)
SHA * s
+CODE:
+ RETVAL = shaclose(s);
+ sv_setiv(SvRV(ST(0)), 0);
int
shadump(file, s)
use Fcntl;
use integer;
-$VERSION = '5.84';
+$VERSION = '5.85';
require Exporter;
require DynaLoader;
sub DESTROY {
my $self = shift;
- shaclose($$self) if $$self;
+ if ($$self) { shaclose($$self); $$self = undef }
}
sub clone {
##
## Copyright (C) 2003-2013 Mark Shelor, All Rights Reserved
##
- ## Version: 5.84
- ## Sat Mar 9 17:36:08 MST 2013
+ ## Version: 5.85
+ ## Wed Jun 26 04:05:26 MST 2013
## shasum SYNOPSIS adapted from GNU Coreutils sha1sum.
## Add an "-a" option for algorithm selection, a "-p"
use Fcntl;
use Getopt::Long;
-my $VERSION = "5.84";
+my $VERSION = "5.85";
## Try to use Digest::SHA. If not installed, use the slower
if $status && !$check;
- ## Default to SHA-1 unless overriden by command line option
+ ## Default to SHA-1 unless overridden by command line option
$alg = 1 unless defined $alg;
grep { $_ == $alg } (1, 224, 256, 384, 512, 512224, 512256)
## Try to figure out if the OS is DOS-like. If it is,
## default to binary mode when reading files, unless
- ## explicitly overriden by command line "--text" or
+ ## explicitly overridden by command line "--text" or
## "--portable" options.
my $isDOSish = ($^O =~ /^(MSWin\d\d|os2|dos|mint|cygwin)$/);
*
* Copyright (C) 2003-2013 Mark Shelor, All Rights Reserved
*
- * Version: 5.84
- * Sat Mar 9 17:36:08 MST 2013
+ * Version: 5.85
+ * Wed Jun 26 04:05:26 MST 2013
*
*/
*
* Copyright (C) 2003-2013 Mark Shelor, All Rights Reserved
*
- * Version: 5.84
- * Sat Mar 9 17:36:08 MST 2013
+ * Version: 5.85
+ * Wed Jun 26 04:05:26 MST 2013
*
*/