This code snippet taken from tinyca 0.7.0 fixes it, too.

Cheers,
T.O.

--- tinyca-0.6.8/lib/OpenSSL.pm 2005-02-20 22:03:03.000000000 +0100
+++ tinyca-0.6.8/lib/OpenSSL.pm 2005-06-08 15:47:30.000000000 +0200
@@ -497,7 +497,10 @@
 
    # get revoked certs
    $tmp->{'LIST'} = [];
-   for($i = 0; $lines[$i] !~ /^[\s\t]*Revoked Certificates:$/i; $i++) {
+   for($i = 0;
+         ($i < scalar(@lines)) &&
+         ($lines[$i] !~ /^[\s\t]*Revoked Certificates:$/i);
+       $i++) {
       $self->{'CACHE'}->{$file} = $tmp;
       return($tmp) if ($lines[$i] =~ /No Revoked Certificates/i);
    }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to