diff options
Diffstat (limited to 'trust')
-rw-r--r-- | trust/tests/test-module.c | 2 | ||||
-rw-r--r-- | trust/tests/test-parser.c | 2 | ||||
-rw-r--r-- | trust/tests/test-session.c | 2 | ||||
-rw-r--r-- | trust/tests/test-token.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/trust/tests/test-module.c b/trust/tests/test-module.c index 0278fd3..42eea41 100644 --- a/trust/tests/test-module.c +++ b/trust/tests/test-module.c @@ -342,7 +342,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; - setenv ("P11_KIT_STRICT", "1", 1); + putenv ("P11_KIT_STRICT=1"); p11_debug_init (); /* p11_message_quiet (); */ diff --git a/trust/tests/test-parser.c b/trust/tests/test-parser.c index 52092d0..931f85c 100644 --- a/trust/tests/test-parser.c +++ b/trust/tests/test-parser.c @@ -807,7 +807,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; - setenv ("P11_KIT_STRICT", "1", 1); + putenv ("P11_KIT_STRICT=1"); p11_debug_init (); p11_message_quiet (); diff --git a/trust/tests/test-session.c b/trust/tests/test-session.c index 48c9146..d77f461 100644 --- a/trust/tests/test-session.c +++ b/trust/tests/test-session.c @@ -141,7 +141,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; - setenv ("P11_KIT_STRICT", "1", 1); + putenv ("P11_KIT_STRICT=1"); p11_debug_init (); p11_message_quiet (); diff --git a/trust/tests/test-token.c b/trust/tests/test-token.c index 2ed1134..027a05e 100644 --- a/trust/tests/test-token.c +++ b/trust/tests/test-token.c @@ -88,7 +88,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; - setenv ("P11_KIT_STRICT", "1", 1); + putenv ("P11_KIT_STRICT=1"); p11_debug_init (); p11_message_quiet (); |