summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/openssl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c
index c0d93dd..e1c3b8d 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -27,6 +27,7 @@
27#define LUAOSSL_H 27#define LUAOSSL_H
28 28
29#include <limits.h> /* INT_MAX INT_MIN */ 29#include <limits.h> /* INT_MAX INT_MIN */
30#include <stdint.h> /* uintptr_t */
30#include <string.h> /* memset(3) strerror_r(3) */ 31#include <string.h> /* memset(3) strerror_r(3) */
31#include <strings.h> /* strcasecmp(3) */ 32#include <strings.h> /* strcasecmp(3) */
32#include <math.h> /* INFINITY fabs(3) floor(3) frexp(3) fmod(3) round(3) isfinite(3) */ 33#include <math.h> /* INFINITY fabs(3) floor(3) frexp(3) fmod(3) round(3) isfinite(3) */
@@ -3003,7 +3004,7 @@ static int xx_getLastUpdate(lua_State *L) {
3003 updated = timeutc(time); 3004 updated = timeutc(time);
3004 3005
3005 if (isfinite(updated)) 3006 if (isfinite(updated))
3006 lua_pushnumber(L, 1); 3007 lua_pushnumber(L, updated);
3007 else 3008 else
3008 lua_pushnil(L); 3009 lua_pushnil(L);
3009 3010