enhanced unittests, added pod for addrecord and newrecord, using ->new() everywhere, new parameter "create"

This commit is contained in:
git@daemon.de
2015-02-16 11:41:35 +01:00
parent f8308c72c4
commit 1672943fcc
7 changed files with 208 additions and 156 deletions

View File

@@ -8,7 +8,7 @@
package Crypt::PWSafe3::SHA256;
$Crypt::PWSafe3::SHA256::VERSION = '1.02';
$Crypt::PWSafe3::SHA256::VERSION = '1.03';
use Digest::SHA;
@@ -17,7 +17,7 @@ sub new {
my $class = ref($this) || $this;
my $self = { };
bless($self, $class);
my $sha = new Digest::SHA('SHA-256');
my $sha = Digest::SHA->new('SHA-256');
return $sha;
}