Commits

Toby Inkster committed 9ee774c

fix

  • Participants
  • Parent commits 1724535

Comments (0)

Files changed (1)

File testing/trust.pl

 	my $real_hash;
 	if ($hash eq 'MD5')
 		{ $real_hash = lc( Digest::MD5::md5_hex($self->{'data'}) ); }
-	elsif ($hash eq 'MD5')
+	elsif ($hash eq 'SHA1')
 		{ $real_hash = lc( Digest::SHA1::sha1_hex($self->{'data'}) ); }
 	
 	my $status = ($real_hash eq $asserted_hash) ? 1 : -1;