mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 15:03:47 +08:00
Fix the OCSP responder mode
Broken by commit 3e3c7c36
.
Fixes #5681
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/5688)
This commit is contained in:
parent
9fcfd0cd86
commit
e46931108a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user