Guys,
If use the information menue on the ra or ca interface and click on \"all\" i get The following messge:
\"Allgemeiner Fehler 700: The compilation of the command cmdCrlList failed. Can\'t use an undefined value as an ARRAY reference at (eval 115) line 75.\"
I have patched the file crlList and raised a bug on Sourceforge. Here is the patch (using diff -u) I shall try and commit the patch to CVS today.
The patch is a bit of a bodge as it makes the command look more like the 0.9.2.1 version, it was obviously changed for a reason. But this code fixes the error.
Chris...
--- crlList Tue May 10 13:13:59 2005
+++ /root/download/openca-0.9.2.2/src/common/lib/cmds/crlList Mon Jan 17
10:07:17 2005
@@ -43,7 +43,7 @@
$matched = $db->elements( DATATYPE=>$dataType );
};-my @crlList = $db->listItems( DATATYPE=>$dataType,
[EMAIL PROTECTED] = $db->listItems( DATATYPE=>$dataType,
FROM=>$from, ITEMS=>$maxItems);my $cmd_panel = undef; @@ -70,11 +70,9 @@ }
## Process all Files
-# Made the $pos counter like the 0.9.2.1 version
-my $pos = 0;
foreach my $crl ( @crlList ) {
- # Removed the following line as it did not work !
- # my $pos = scalar @{$item_list->{BODY}};
+
+ my $pos = scalar @{$item_list->{BODY}}; my ( $format, $key, $type, $ser_col );
my @vals;
@@ -91,7 +89,6 @@
$item_list->{BODY}->[$pos]->[1] = $crl->getSerial();
$item_list->{BODY}->[$pos]->[2] = $crl->getParsed()->{LAST_UPDATE};
$item_list->{BODY}->[$pos]->[3] = $crl->getParsed()->{NEXT_UPDATE};
- $pos++;
}return libSendReply (
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Openca-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openca-users
