mirror of https://git.kore.io/kore.git
wrap pledge stuff into an ifdef __OpenBSD__ block.
This commit is contained in:
parent
bb39643b48
commit
e2930f29c1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue