From 0cc5d52e543c19a1997498597973b7da334b5f9f Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 26 Feb 2008 07:56:46 +0000 Subject: [PATCH] * modules/ssl/ssl_scache.c (ssl_ext_status_hook): Do nothing if no provider is configured. Submitted by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@631119 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_scache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_scache.c b/modules/ssl/ssl_scache.c index 948078d124..3d97ee8d16 100644 --- a/modules/ssl/ssl_scache.c +++ b/modules/ssl/ssl_scache.c @@ -143,7 +143,7 @@ static int ssl_ext_status_hook(request_rec *r, int flags) { SSLModConfigRec *mc = myModConfig(r->server); - if (mc == NULL || flags & AP_STATUS_SHORT) + if (mc == NULL || flags & AP_STATUS_SHORT || mc->sesscache == NULL) return OK; ap_rputs("
\n", r); -- 2.40.0