summaryrefslogtreecommitdiff
path: root/modules/ssl/ssl_engine_ocsp.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2009-09-16 10:56:31 +0000
committerJoe Orton <jorton@apache.org>2009-09-16 10:56:31 +0000
commit229ca83b8fb91aeca65ccbae5f15eaa339d9204a (patch)
tree2de80052adcdd14c713e884ccdbd3803eb840d01 /modules/ssl/ssl_engine_ocsp.c
parent8c13e8877c29497ff36fb724b5e940ddc15c2c90 (diff)
downloadhttpd-229ca83b8fb91aeca65ccbae5f15eaa339d9204a.tar.gz
* modules/ssl/ssl_util_ocsp.c (send_request,
modssl_dispatch_ocsp_request): Take timeout as argument, as pass through. * modules/ssl/ssl_engine_ocsp.c (verify_ocsp_status): Pass server timeout to modssl_dispatch_ocsp_request. Submitted by: Dr Stephen Henson <shenson oss-institute.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@815719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_engine_ocsp.c')
-rw-r--r--modules/ssl/ssl_engine_ocsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_ocsp.c b/modules/ssl/ssl_engine_ocsp.c
index c5e21535e2..5886475344 100644
--- a/modules/ssl/ssl_engine_ocsp.c
+++ b/modules/ssl/ssl_engine_ocsp.c
@@ -141,7 +141,9 @@ static int verify_ocsp_status(X509 *cert, X509_STORE_CTX *ctx, conn_rec *c,
request = create_request(ctx, cert, &certID, s, pool);
if (request) {
- response = modssl_dispatch_ocsp_request(ruri, request, c, pool);
+ response = modssl_dispatch_ocsp_request(ruri,
+ mySrvFromConn(c)->timeout,
+ request, c, pool);
}
if (!request || !response) {