0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 03:46:41 +00:00
termux-packages/packages/libnss/lib-freebl-stubs.c.patch
2023-02-10 02:38:15 +00:00

12 lines
293 B
Diff

--- a/nss/lib/freebl/stubs.c
+++ b/nss/lib/freebl/stubs.c
@@ -574,7 +574,7 @@
PR_GetEnvSecure_stub(const char *var)
{
STUB_SAFE_CALL1(PR_GetEnvSecure, var);
-#ifdef __USE_GNU
+#if defined __USE_GNU && !defined __ANDROID__
return secure_getenv(var);
#else
return getenv(var);