]> granicus.if.org Git - apache/commitdiff
Fix logging of SSL session cache timeout value (at TRACE2 level).
authorKaspar Brand <kbrand@apache.org>
Sun, 4 Aug 2013 05:21:25 +0000 (05:21 +0000)
committerKaspar Brand <kbrand@apache.org>
Sun, 4 Aug 2013 05:21:25 +0000 (05:21 +0000)
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

index 27902a22283e4c1bf59ce5c445813655857c5c1e..28cc19a4d4a80f47c09b8db90877fb075ca2c452 100644 (file)
@@ -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,