diff options
author | Marc-André Lureau | 2019-12-11 15:23:28 +0100 |
---|---|---|
committer | Thomas Huth | 2019-12-17 09:05:23 +0100 |
commit | e468ffdc6d3b1c7127b785eb73a1f5c94751fb01 (patch) | |
tree | 9db94e956b8932b6b1a89ca26ab63ade56559287 /tests/test-crypto-tlssession.c | |
parent | hw/misc/ivshmem: Bury dead legacy INTx code (diff) | |
download | qemu-e468ffdc6d3b1c7127b785eb73a1f5c94751fb01.tar.gz qemu-e468ffdc6d3b1c7127b785eb73a1f5c94751fb01.tar.xz qemu-e468ffdc6d3b1c7127b785eb73a1f5c94751fb01.zip |
glib: use portable g_setenv()
We have a setenv() wrapper in os-win32.c that no one is actually using.
Drop it and change to g_setenv() uniformly.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1576074210-52834-7-git-send-email-pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/test-crypto-tlssession.c')
-rw-r--r-- | tests/test-crypto-tlssession.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-crypto-tlssession.c b/tests/test-crypto-tlssession.c index 6560d7134f..8b2453fa79 100644 --- a/tests/test-crypto-tlssession.c +++ b/tests/test-crypto-tlssession.c @@ -398,7 +398,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); |