kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit e2930f29c1f47a5e836dfe5f8881f88b68239460
parent bb39643b487ba518e95e92afae15975dd73f737c
Author: Joris Vink <joris@coders.se>
Date:   Thu,  7 Nov 2019 08:29:38 +0100

wrap pledge stuff into an ifdef __OpenBSD__ block.

Diffstat:
src/keymgr.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/keymgr.c b/src/keymgr.c @@ -229,11 +229,13 @@ int keymgr_active = 0; char *keymgr_root_path = NULL; char *keymgr_runas_user = NULL; +#if defined(__OpenBSD__) #if defined(KORE_USE_ACME) static const char *keymgr_pledges = "stdio rpath wpath cpath"; #else static const char *keymgr_pledges = "stdio rpath"; #endif +#endif void kore_keymgr_run(void)