]> granicus.if.org Git - apache/commitdiff
Fix default OSCP stapling port.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 26 Jan 2010 00:24:07 +0000 (00:24 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 26 Jan 2010 00:24:07 +0000 (00:24 +0000)
Submitted by: Dr Stephen Henson <steve openssl.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@903026 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_util_stapling.c

index 5e20614aa40e278fbca4249f46b5936da8894db5..12d3749c744c551e7236b6502b820b0e5899e0d4 100644 (file)
@@ -414,6 +414,10 @@ static BOOL stapling_renew_response(server_rec *s, modssl_ctx_t *mctx, SSL *ssl,
         goto done;
     }
 
+    if (!uri.port) {
+        uri.port = apr_uri_port_of_scheme(uri.scheme);
+    }
+
     *prsp = modssl_dispatch_ocsp_request(&uri, mctx->stapling_responder_timeout,
                                          req, conn, vpool);