X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Focsp.c;h=9c8e20d35ab967708172dbd3e4555c84ebd16aef;hp=0cf4aad3f80be51431be6bb617f08010390ec574;hb=560dfd2a02df2fd3d6f0a12519eb26c3c4f60fa8;hpb=14f3d7c5ccd38875d5f3ee2007baec5a7240adc0 diff --git a/apps/ocsp.c b/apps/ocsp.c index 0cf4aad3f8..9c8e20d35a 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -123,6 +123,7 @@ int MAIN(int argc, char **argv) int accept_count = -1; int badarg = 0; int i; + int ignore_err = 0; STACK *reqnames = NULL; STACK_OF(OCSP_CERTID) *ids = NULL; @@ -182,6 +183,8 @@ int MAIN(int argc, char **argv) } else badarg = 1; } + else if (!strcmp(*args, "-ignore_err")) + ignore_err = 1; else if (!strcmp(*args, "-noverify")) noverify = 1; else if (!strcmp(*args, "-nonce")) @@ -783,6 +786,8 @@ int MAIN(int argc, char **argv) { BIO_printf(out, "Responder Error: %s (%d)\n", OCSP_response_status_str(i), i); + if (ignore_err) + goto redo_accept; ret = 0; goto end; }