summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Guerreiro <aguerreiro1985@gmail.com>2014-11-27 10:11:33 +0000
committerMatt Caswell <matt@openssl.org>2014-11-27 14:18:45 +0000
commit6c3d948723ab4d7ce637efa4d5e611a8e4d3226b (patch)
tree911de678885ede186da2d5285d51e6e4870c330e
parent51c5ab5d3a6a71618e364c5c73492f87fc7ed661 (diff)
Add documentation on -timeout option in the ocsp utility
PR#3612 Reviewed-by: Dr. Stephen Henson <steve@openssl.org> (cherry picked from commit de87dd46c1283f899a9ecf4ccc72db74f36afbf2) (cherry picked from commit 4d3df37bc7fd33d0bec5da04d2572caa0cdbab75)
-rw-r--r--apps/ocsp.c1
-rw-r--r--doc/apps/ocsp.pod4
2 files changed, 5 insertions, 0 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index 04263ffd92..d421abd939 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -628,6 +628,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, "-<dgst alg> 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<host> option is present then the OCSP request is sent to the host
B<hostname> on port B<port>. B<path> 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