On Mon, Aug 27, 2001 at 07:17:24PM +0200, Massimiliano Pala wrote:

> > in function 'issueCrl' you return a '1' in line 733. Later in CRL.pm you use
> > this value in the 'getBody' function - this do not work.
> 
> This only if you pass an 'outfile' parameter. If you do so I assume you want to
> read the value from that file and you are not interested in retrieving the
> CRL itself...
> > Much later you pipe this '1' into openssl which really gets confused
> > by that and throws an : 'unable to load CRL'
> 
> Do you think it would be best returning anyway the crl ? In some cases 
> someone could find it useful (?) ...

The problem is, how to I create an "cacert.crl" file without passing this
OUTFILE parameter to issueCRL ?

Look, my temporary patch to CRL.pm (~ line 130) is :

        if( ($cacert) or ($cakey) ) {
                return unless ( $cacert and $cakey );
                my $outfile = $keys->{'OUTFILE'};
                $self->{crl} = $self->{backend}->issueCrl( CAKEY=>$cakey,
                                           CACERT=>$cacert,
                                           OUTFORM=>$self->{crlFormat},
                                           DAYS=>$days,
                                           PASSWD=>$self->{pwd},
                                           EXTS=>$exts,
                                           OUTFILE=>$outfile );
                return if ( not $self->{crl} );
        }

as you can see, I added the OUTFILE parameter. So there was no real bug in
CRL.pm because I fucked it up with my OUTFILE parameter. But how do I get an crl
file without this parameter.


-- 
tschau , Uwe Gansert
-------------------------------------------------------------------------------
echo '$e=5;$p=3;$q=13;$h=$p*$q;while(($e*++$d)%($h-$p-$q+1)-1){};while($t=subst
r("82758c1b8939c7ef5c5d0°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°1eaa4aa38516aed5559fe
27fd0f5b0b464474b2316eac~~~~        [EMAIL PROTECTED]        ~~~~390a03",$i,3)){$_.=pa
ck"I",(hex($t)%$h)**$d%$°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°h+95;s/_/ /g;$_=($i+=
3)%2?uc:lc;print"$_\n";}'|perl -ne"chomp;s/°|~|\s*ug@[^~]*//g;print"|perl

PGP signature

Reply via email to