aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
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);