web/modules/rhn/RHN/Cert.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit d21697b0470aa82d306422db40c9751de44a4aeb
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Mar 8 23:56:57 2010 +0100
fixed typos
diff --git a/web/modules/rhn/RHN/Cert.pm b/web/modules/rhn/RHN/Cert.pm
index 8cef6af..58c1cd0 100644
--- a/web/modules/rhn/RHN/Cert.pm
+++ b/web/modules/rhn/RHN/Cert.pm
@@ -161,11 +161,11 @@ sub check_signature {
my ( $data_fh, $data_file ) = File::Temp::tempfile();
print $data_fh $data;
- close $data_fh
+ close $data_fh;
my ( $sig_fh, $sig_file ) = File::Temp::tempfile();
print $sig_fh $signature;
- close $sig_fh
+ close $sig_fh;
system("gpg --verify -q --keyring $keyring $sig_file $data_file");
@@ -187,7 +187,7 @@ sub compute_signature {
my ( $data_fh, $data_file ) = File::Temp::tempfile();
print $data_fh $data;
- close $data_fh
+ close $data_fh;
my $pid = IPC::Open3::open3(my $wfh, my $rfh, '>&STDERR',
qw|gpg -q --batch --yes --passphrase-fd 0 --sign --detach-sign --armor
Show replies by date