From c8b4bfe20b1ab4b49eb1d65204e7cb280b765a63 Mon Sep 17 00:00:00 2001 From: Kaspar Brand Date: Sun, 4 Aug 2013 05:21:25 +0000 Subject: [PATCH] Fix logging of SSL session cache timeout value (at TRACE2 level). Inadvertent side effect of r907918, where the timeout calculation in ssl_callback_NewSessionCacheEntry was slightly modified. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1510098 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 27902a2228..28cc19a4d4 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -1700,7 +1700,7 @@ static void ssl_session_log(server_rec *s, if (timeout) { apr_snprintf(timeout_str, sizeof(timeout_str), - "timeout=%lds ", (timeout - time(NULL))); + "timeout=%lds ", timeout); } ap_log_error(APLOG_MARK, APLOG_TRACE2, 0, s, -- 2.40.0