aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sandbox.c b/sandbox.c
index f417e86..0078551 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -34,10 +34,12 @@ LL_BEGIN(sbox_enter_linux_, const char* basedir, const char *address, int smail)
#endif
LL_PATH("/etc/resolv.conf", rf );
LL_PATH("/etc/hosts", rf );
- LL_PATH("/etc/ssl/openssl.cnf", rf );
- LL_PATH("/etc/ssl/cert.pem", rf );
+ LL_PATH("/etc/ssl", rf );
LL_PATH("/usr/share/zoneinfo", rf );
+ if (mtime("/etc/pki") > 0)
+ LL_PATH("/etc/pki", rf );
+
if (*address == '/')
LL_PATH(address, s);