summaryrefslogtreecommitdiff
path: root/common/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/test.c')
-rw-r--r--common/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/test.c b/common/test.c
index 5a1cf72..9605d03 100644
--- a/common/test.c
+++ b/common/test.c
@@ -322,7 +322,7 @@ expand_tempdir (const char *name)
{
const char *env;
- env = getenv ("TMPDIR");
+ env = secure_getenv ("TMPDIR");
if (env && env[0]) {
return p11_path_build (env, name, NULL);