diff options
-rw-r--r-- | apps/ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index ed2281a596..7581531ccf 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -551,7 +551,7 @@ int ocsp_main(int argc, char **argv) } if (ridx_filename != NULL - && (rkey != NULL || rsigner != NULL || rca_cert != NULL)) { + && (rkey == NULL || rsigner == NULL || rca_cert == NULL)) { BIO_printf(bio_err, "Responder mode requires certificate, key, and CA.\n"); goto end; |