summaryrefslogtreecommitdiff
path: root/p11-kit/tests/test-modules.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-03 09:47:29 +0100
committerStef Walter <stefw@gnome.org>2013-03-03 10:07:08 +0100
commit38acf11889c1e1da2610c8e05f1f380f2a2a1ae6 (patch)
tree620bcadc424919895b17b5984eb3e3d1bdaa600d /p11-kit/tests/test-modules.c
parent7823c9ddcb18b5155b3cc0e9d9f57ad0333d5eba (diff)
Use putenv() instead of setenv()
Since older operating systems don't support setenv()
Diffstat (limited to 'p11-kit/tests/test-modules.c')
-rw-r--r--p11-kit/tests/test-modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/tests/test-modules.c b/p11-kit/tests/test-modules.c
index 5ac6192..eb8d952 100644
--- a/p11-kit/tests/test-modules.c
+++ b/p11-kit/tests/test-modules.c
@@ -226,7 +226,7 @@ main (void)
CuSuite* suite = CuSuiteNew ();
int ret;
- setenv ("P11_KIT_STRICT", "1", 1);
+ putenv ("P11_KIT_STRICT=1");
p11_library_init ();
SUITE_ADD_TEST (suite, test_no_duplicates);