]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/ocsp.c
Cut'n'paste error with other reposnder certificates cleared.
[thirdparty/openssl.git] / 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");