summaryrefslogtreecommitdiffstats
path: root/pki/base/ra
diff options
context:
space:
mode:
authoralee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-07-14 21:13:08 +0000
committeralee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-07-14 21:13:08 +0000
commit8dbaf7f62f2e97d21d4309422ecc540f4831dda4 (patch)
treec02066cfcd5c6fd869a3f82ab3309220d006db28 /pki/base/ra
parente262ac57fc11dff490093bdf4c449e0f528604b5 (diff)
downloadpki-8dbaf7f62f2e97d21d4309422ecc540f4831dda4.tar.gz
pki-8dbaf7f62f2e97d21d4309422ecc540f4831dda4.tar.xz
pki-8dbaf7f62f2e97d21d4309422ecc540f4831dda4.zip
Bugzilla Bug #511337 - sscep getca fails with define CA identifier
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@697 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/ra')
-rw-r--r--pki/base/ra/lib/perl/PKI/Conn/CA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pki/base/ra/lib/perl/PKI/Conn/CA.pm b/pki/base/ra/lib/perl/PKI/Conn/CA.pm
index b86a995b..2dd106a8 100644
--- a/pki/base/ra/lib/perl/PKI/Conn/CA.pm
+++ b/pki/base/ra/lib/perl/PKI/Conn/CA.pm
@@ -148,7 +148,7 @@ sub get_http_content
{
my ($self, $filename) = @_;
my $data = "";
- my $count = `grep Content-Length $filename | cut -d' ' -f2`;
+ my $count = `grep -a Content-Length $filename | cut -d' ' -f2`;
chomp($count);
my $file_size = -s $filename;
my $offset = $file_size - $count;