You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2009/10/28 15:05:10 UTC

svn commit: r830551 - /httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c

Author: jorton
Date: Wed Oct 28 14:05:09 2009
New Revision: 830551

URL: http://svn.apache.org/viewvc?rev=830551&view=rev
Log:
* modules/ssl/ssl_util_stapling.c (stapling_cache_response): Use
  apr_time_now() rather than time().

Reported by: rpluem.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c?rev=830551&r1=830550&r2=830551&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c Wed Oct 28 14:05:09 2009
@@ -216,7 +216,7 @@
         timeout = mctx->stapling_errcache_timeout;
     }
 
-    timeout += time(NULL);
+    timeout += apr_time_sec(apr_time_now());
 
     i2d_OCSP_RESPONSE(rsp, &p);