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 */