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

apps/ocsp.c

index 49a156a1cfdc773994dde772a66f95530b9332d8..76a11ab0670f902837b76edd116f45819c28b676 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");