hello

I found a bug in the crypto-util.lib it is just a messing line in the
libIssueCertificate function where if you  want to use the PIN that the
user entered at request submission form it fails because there is not
$hashed_pin (null) . here is the fix. sorry I could not generate a diff
because of other mods that I have done.

        my $msg;
        my $hashed_pin;

        ## which PIN should be used ?
        if ($use_req_pin and ($use_req_pin =~ /^YES$/i)) {
                ##// use request's PIN
                ## load prepared mail
                $msg = $tools->getFile (getRequired
('REQUEST_PIN_MAIL'));
             # this is the added line
                $$hashed_pin= $req->getParsed()->{PIN}; #<-----
             ### end of addition
        } else {
                ## generate new PIN









-- 
Bahaaldin Al-amood                                      [ ok ]
E-Provisioning Group                                    [ ok ]
Virginia Polytechnic Institute and State University     [ ok ]
1700 Pratt Drive                                        [ ok ]
Blacksburg, VA 24060                                    [ ok ]
(540) 231-2630                                          [ ok ]
FAX: (540) 231-7413                                     [ ok ]
[EMAIL PROTECTED]                                               [ ok ]


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to