Hi,

The -rother option of the 'ocsp' command is not processed correctly (probably nobody 
has used it before :-)). Here is a patch for openssl-0.9.7-beta3, I tested and it 
works, the additional certificates are included in the OCSP response.

Regards,
Zoltan

--- openssl-0.9.7-beta3/apps/ocsp.c     Wed Jul 10 06:57:36 2002
+++ openssl-0.9.7-beta3.own/apps/ocsp.c Thu Aug  1 10:14:19 2002
@@ -613,9 +613,9 @@
                        NULL, e, "CA certificate");
                if (rcertfile)
                        {
-                       rother = load_certs(bio_err, sign_certfile, FORMAT_PEM,
+                       rother = load_certs(bio_err, rcertfile, FORMAT_PEM,
                                NULL, e, "responder other certificates");
-                       if (!sign_other) goto end;
+                       if (!rother) goto end;
                        }
                rkey = load_key(bio_err, rkeyfile, FORMAT_PEM, NULL, NULL,
                        "responder private key");
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to