diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-03 09:47:29 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-03 10:07:08 +0100 |
commit | 38acf11889c1e1da2610c8e05f1f380f2a2a1ae6 (patch) | |
tree | 620bcadc424919895b17b5984eb3e3d1bdaa600d /p11-kit/tests/test-init.c | |
parent | 7823c9ddcb18b5155b3cc0e9d9f57ad0333d5eba (diff) |
Use putenv() instead of setenv()
Since older operating systems don't support setenv()
Diffstat (limited to 'p11-kit/tests/test-init.c')
-rw-r--r-- | p11-kit/tests/test-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/tests/test-init.c b/p11-kit/tests/test-init.c index 1c13b15..7df4be9 100644 --- a/p11-kit/tests/test-init.c +++ b/p11-kit/tests/test-init.c @@ -295,7 +295,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; - setenv ("P11_KIT_STRICT", "1", 1); + putenv ("P11_KIT_STRICT=1"); p11_mutex_init (&race_mutex); mock_module_init (); p11_library_init (); |