mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
Correct reversed naming of SHA chains
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6f5de7ef3f
commit
9a6047b3c4
@ -1779,8 +1779,8 @@ sub finalize_script( $ ) {
|
||||
|
||||
if ( $file ne '-' ) {
|
||||
my $sha1sum = generate_sha1;
|
||||
my $sha1sum1 = join( '-', 'sha-rh', substr( $sha1sum, 0, 20 ) );
|
||||
my $sha1sum2 = join( '-', 'sha-lh', substr( $sha1sum, -20 ) );
|
||||
my $sha1sum1 = join( '-', 'sha-lh', substr( $sha1sum, 0, 20 ) );
|
||||
my $sha1sum2 = join( '-', 'sha-rh', substr( $sha1sum, -20 ) );
|
||||
|
||||
@ARGV = ( $tempfile );
|
||||
$^I = '';
|
||||
|
Loading…
Reference in New Issue
Block a user