From 7dc3e1fa62ab79a872d29661c0ac197bd0ccab98 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Wed, 28 Oct 2009 14:05:09 +0000 Subject: [PATCH] * modules/ssl/ssl_util_stapling.c (stapling_cache_response): Use apr_time_now() rather than time(). Reported by: rpluem. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@830551 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_util_stapling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_util_stapling.c b/modules/ssl/ssl_util_stapling.c index a703f259df..e622f72189 100644 --- a/modules/ssl/ssl_util_stapling.c +++ b/modules/ssl/ssl_util_stapling.c @@ -216,7 +216,7 @@ static BOOL stapling_cache_response(server_rec *s, modssl_ctx_t *mctx, timeout = mctx->stapling_errcache_timeout; } - timeout += time(NULL); + timeout += apr_time_sec(apr_time_now()); i2d_OCSP_RESPONSE(rsp, &p); -- 2.40.0