diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-06-05 08:34:27 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-06-05 08:42:04 +0300 |
commit | 8d3a7c0f178620faf85a53146501ba024309e851 (patch) | |
tree | cb9a3007f748367fa33395d8f8675b6d0e39af77 /src | |
parent | ad5867b4c5c85ac4ade3cd2d4884ade0e1fae5a5 (diff) | |
download | luaossl-8d3a7c0f178620faf85a53146501ba024309e851.tar.gz luaossl-8d3a7c0f178620faf85a53146501ba024309e851.tar.bz2 luaossl-8d3a7c0f178620faf85a53146501ba024309e851.zip |
crl:getLastUpdate: return correct timestamp
Diffstat (limited to 'src')
-rw-r--r-- | src/openssl.c | 2 |
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); |