summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Fellerich <Pascal.Fellerich@ses.com>2017-03-21 09:55:59 +0100
committerdaurnimator <quae@daurnimator.com>2017-04-03 15:52:28 +1000
commit3c49837d05b6fad0f1212a27e81e8ffc868eedfb (patch)
tree2bddbdfe6c8f0b2e70d29c009a0c4d63b498f0ff
parentd77caf28ae5af5cd4b759d436c4c94870d8d26a3 (diff)
downloadluaossl-3c49837d05b6fad0f1212a27e81e8ffc868eedfb.tar.gz
luaossl-3c49837d05b6fad0f1212a27e81e8ffc868eedfb.tar.bz2
luaossl-3c49837d05b6fad0f1212a27e81e8ffc868eedfb.zip
Bugfix in xx_getNextUpdate() - return time instead of constant 1.
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 0910bb3..0ba7825 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -6648,7 +6648,7 @@ static int xx_getNextUpdate(lua_State *L) {
6648 updateby = timeutc(time); 6648 updateby = timeutc(time);
6649 6649
6650 if (isfinite(updateby)) 6650 if (isfinite(updateby))
6651 lua_pushnumber(L, 1); 6651 lua_pushnumber(L, updateby);
6652 else 6652 else
6653 lua_pushnil(L); 6653 lua_pushnil(L);
6654 6654