httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r830551 - /httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
Date Wed, 28 Oct 2009 14:05:10 GMT
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);
 



Mime
View raw message