On Wed, Nov 20, 2002 at 02:46:19PM -0500, Chris Jarshant wrote:
> The OCSP app seems to not handle the -rother option correctly.
> Look at apps/ocsp.c.  The 'rcertfile' variable in main() is
> set when you give the app the -rother option, but then
> it's not used in the load_certs() invocation.  
> 
> This effectively hangs the ocsp app when the -rother switch
> is used, since it's trying to read certs from stdin.

I am not at all familiar with apps/ocsp.c, but a short glance shows...

                if (rcertfile)
                        {
                        rother = load_certs(bio_err, rcertfile, FORMAT_PEM,
                                NULL, e, "responder other certificates");
                        if (!rother) goto end;
                        }

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to