From: André Guerreiro Date: Thu, 27 Nov 2014 10:11:33 +0000 (+0000) Subject: Add documentation on -timeout option in the ocsp utility X-Git-Tag: OpenSSL_1_0_2~170 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4d3df37bc7fd33d0bec5da04d2572caa0cdbab75;p=oweals%2Fopenssl.git Add documentation on -timeout option in the ocsp utility PR#3612 Reviewed-by: Dr. Stephen Henson (cherry picked from commit de87dd46c1283f899a9ecf4ccc72db74f36afbf2) --- diff --git a/apps/ocsp.c b/apps/ocsp.c index 44e8ba022f..6f85c9340a 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -649,6 +649,7 @@ int MAIN(int argc, char **argv) BIO_printf (bio_err, "-resp_key_id identify reponse by signing certificate key ID\n"); BIO_printf (bio_err, "-nrequest n number of requests to accept (default unlimited)\n"); BIO_printf (bio_err, "- use specified digest in the request\n"); + BIO_printf (bio_err, "-timeout n timeout connection to OCSP responder after n seconds\n"); goto end; } diff --git a/doc/apps/ocsp.pod b/doc/apps/ocsp.pod index af2e12e418..38f026afc1 100644 --- a/doc/apps/ocsp.pod +++ b/doc/apps/ocsp.pod @@ -133,6 +133,10 @@ if the B option is present then the OCSP request is sent to the host B on port B. B specifies the HTTP path name to use or "/" by default. +=item B<-timeout seconds> + +connection timeout to the OCSP responder in seconds + =item B<-CAfile file>, B<-CApath pathname> file or pathname containing trusted CA certificates. These are used to verify