From 8d3a7c0f178620faf85a53146501ba024309e851 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Thu, 5 Jun 2014 08:34:27 +0300 Subject: crl:getLastUpdate: return correct timestamp --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openssl.c b/src/openssl.c index c589d6c..b14a463 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -2942,7 +2942,7 @@ static int xx_getLastUpdate(lua_State *L) { updated = timeutc(time); if (isfinite(updated)) - lua_pushnumber(L, 1); + lua_pushnumber(L, updated); else lua_pushnil(L); -- cgit v1.2.3-59-g8ed1b