From 74e81fb56d40c647fdd7a7d3f6c15d22237863c4 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Sun, 24 Jan 2016 13:39:10 +0100 Subject: [PATCH] Encrypt should not require Lua --- config.mk.in | 1 + udata.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.mk.in b/config.mk.in index fb2b9c7..1cc69dd 100644 --- a/config.mk.in +++ b/config.mk.in @@ -18,6 +18,7 @@ WITH_PING ?= yes WITH_KILL ?= no # Do you want support for payload encryption with libsodium? +# This requires WITH_LMDB to be configured. WITH_ENCRYPT ?= no # Do you want R_only support? (Probably not; this is for Hosted) diff --git a/udata.h b/udata.h index 0ee2b13..b8e039c 100644 --- a/udata.h +++ b/udata.h @@ -35,9 +35,9 @@ struct udata { # ifdef WITH_LMDB struct gcache *luadb; /* lmdb named database 'luadb' */ # endif -# ifdef WITH_ENCRYPT +#endif +#ifdef WITH_ENCRYPT struct gcache *keydb; /* encryption keys */ -# endif #endif char *label; /* Server label */ char *geokey; /* Google reverse-geo API key */