aboutsummaryrefslogtreecommitdiff
path: root/tests/test-crypto-tlscredsx509.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-crypto-tlscredsx509.c')
-rw-r--r--tests/test-crypto-tlscredsx509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-crypto-tlscredsx509.c b/tests/test-crypto-tlscredsx509.c
index a27efb7540..f487349c32 100644
--- a/tests/test-crypto-tlscredsx509.c
+++ b/tests/test-crypto-tlscredsx509.c
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
module_call_init(MODULE_INIT_QOM);
g_test_init(&argc, &argv, NULL);
- setenv("GNUTLS_FORCE_FIPS_MODE", "2", 1);
+ g_setenv("GNUTLS_FORCE_FIPS_MODE", "2", 1);
mkdir(WORKDIR, 0700);