diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-02-28 14:57:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-02-28 15:38:00 +0100 |
commit | efb9b3bab2cc54ad585831b9b3733371984862f3 (patch) | |
tree | 96e34f6b387a867e3da592e06dabd7c4fd88843a /src/test/test-nss-hosts.c | |
parent | Merge pull request #31444 from bluca/semaphore (diff) | |
download | systemd-efb9b3bab2cc54ad585831b9b3733371984862f3.tar.xz systemd-efb9b3bab2cc54ad585831b9b3733371984862f3.zip |
env-util: rename getenv_bool_secure() → secure_getenv_bool()
The glibc API is behind the wrapper is called "secure_getenv()", hence
our wrapper really should keep the order too, otherwise things are just
too confusing.
Diffstat (limited to 'src/test/test-nss-hosts.c')
-rw-r--r-- | src/test/test-nss-hosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-nss-hosts.c b/src/test/test-nss-hosts.c index 72a9c6454c..2f1810d93b 100644 --- a/src/test/test-nss-hosts.c +++ b/src/test/test-nss-hosts.c @@ -140,7 +140,7 @@ static void test_gethostbyname4_r(void *handle, const char *module, const char * assert_se(status == NSS_STATUS_SUCCESS); assert_se(n == socket_ipv6_is_enabled() + 1); - } else if (streq(module, "resolve") && getenv_bool_secure("SYSTEMD_NSS_RESOLVE_SYNTHESIZE") != 0) { + } else if (streq(module, "resolve") && secure_getenv_bool("SYSTEMD_NSS_RESOLVE_SYNTHESIZE") != 0) { assert_se(status == NSS_STATUS_SUCCESS); if (socket_ipv6_is_enabled()) assert_se(n == 2); |