aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william@25tandclement.com> 2014-07-15 20:39:02 -0700
committerLibravatarLibravatar william <william@25tandclement.com> 2014-07-15 20:39:02 -0700
commit2a8831f0edfb9404c2c7e10628033ff0ac0fff81 (patch)
tree35f93e549faad894772fb3ccdf9b53c1cf183e59 /src
parentaa737d08227b4d127fa6d056b4f37c3fd05407d2 (diff)
parent8d3a7c0f178620faf85a53146501ba024309e851 (diff)
downloadluaossl-2a8831f0edfb9404c2c7e10628033ff0ac0fff81.tar.gz
luaossl-2a8831f0edfb9404c2c7e10628033ff0ac0fff81.tar.bz2
luaossl-2a8831f0edfb9404c2c7e10628033ff0ac0fff81.zip
Merge branch 'crl' of https://github.com/kunkku/luaossl
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 3ab1984..c16c0d8 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -2943,7 +2943,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);