Cut'n'paste error with other reposnder certificates cleared.
authorRichard Levitte <levitte@openssl.org>
Thu, 1 Aug 2002 13:39:39 +0000 (13:39 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 1 Aug 2002 13:39:39 +0000 (13:39 +0000)
PR: 190

apps/ocsp.c

index 49a156a..76a11ab 100644 (file)
@@ -613,9 +613,9 @@ int MAIN(int argc, char **argv)
                        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");