summaryrefslogtreecommitdiff
path: root/common/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.c')
-rw-r--r--common/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/debug.c b/common/debug.c
index 1fbdc7f..47933fa 100644
--- a/common/debug.c
+++ b/common/debug.c
@@ -36,6 +36,7 @@
#include "config.h"
+#include "compat.h"
#include "debug.h"
#include <assert.h>
@@ -76,7 +77,7 @@ parse_environ_flags (void)
const char *q;
int i;
- env = getenv ("P11_KIT_STRICT");
+ env = secure_getenv ("P11_KIT_STRICT");
if (env && env[0] != '\0')
debug_strict = true;