Hi,

during I worked on some code for auto-signing (see openca-devel list if you are 
interested) I find some errors in the viewReq-section of the ca-script

1. $info->{DN} is wrong
   I am using $info->{0}->{DN}  (the trick is from getting the serialnumber)

2. $info->{0}->{DN} is not compareable with $op->{DN} because there are /    
  insteed of , 
  So I use the following code:

  $dn = $info->{0}->{DN};
  $dn =~ s/\//, /g;
  $dn =~ s/, //;

  and then the if-clause
  if ($op->{DN} eq $dn)  {
 ......

I hope this helps a little bit and there is no logical mistake inside.
(for information I'm using SNAPSHOT 20001121)

Regards Michael
______________________________________________________________________________
Die Fachpresse ist sich einig: WEB.DE 15mal Testsieger! Kostenlos E-Mail, 
Fax, SMS, Verschl�sselung, POP3, WAP....testen Sie uns! http://freemail.web.de


--------------------------------------------------------------
Per problemi: [EMAIL PROTECTED] oppure (anche meglio)
[EMAIL PROTECTED]  (messaggio con la sola parola HELP)
--------------------------------------------------------------

Reply via email to