diff options
author | Brent Cook <busterb@gmail.com> | 2015-04-14 07:55:23 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2015-04-14 07:55:23 -0500 |
commit | 3096ab0e45351b05b1f1df51cedc183ba6ca7763 (patch) | |
tree | 01cb87f1fd541907d481311064bdab5d2cdf3691 /crypto/Makefile.am | |
parent | fe3f7fc6365bfaac3418a72256b8c11603e80cbf (diff) | |
download | portable-3096ab0e45351b05b1f1df51cedc183ba6ca7763.tar.gz portable-3096ab0e45351b05b1f1df51cedc183ba6ca7763.tar.bz2 portable-3096ab0e45351b05b1f1df51cedc183ba6ca7763.zip |
remove issetuigid wrappers, now that all getenv calls are gone.
From deraadt@ upstream:
Remove all getenv() calls, especially those wrapped by issetugid().
getenv()'s wrapped by issetugid() are safe, but issetugid() is ...
difficult to impliment on many operating systems. By accident, a grand
experiment was run over the last year, where issetugid() returned 1 (the
safe value) on a few operating systems. Noone noticed & complained that
certain environment variables were not working.......
Diffstat (limited to 'crypto/Makefile.am')
-rw-r--r-- | crypto/Makefile.am | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 83bf0c6..757197f 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
@@ -97,24 +97,6 @@ endif | |||
97 | 97 | ||
98 | endif | 98 | endif |
99 | 99 | ||
100 | if !HAVE_ISSETUGID | ||
101 | if HOST_AIX | ||
102 | libcompat_la_SOURCES += compat/issetugid_aix.c | ||
103 | endif | ||
104 | if HOST_LINUX | ||
105 | libcompat_la_SOURCES += compat/issetugid_linux.c | ||
106 | endif | ||
107 | if HOST_HPUX | ||
108 | libcompat_la_SOURCES += compat/issetugid_hpux.c | ||
109 | endif | ||
110 | if HOST_DARWIN | ||
111 | libcompat_la_SOURCES += compat/issetugid_osx.c | ||
112 | endif | ||
113 | if HOST_WIN | ||
114 | libcompat_la_SOURCES += compat/issetugid_win.c | ||
115 | endif | ||
116 | endif | ||
117 | |||
118 | noinst_HEADERS = | 100 | noinst_HEADERS = |
119 | noinst_HEADERS += compat/arc4random.h | 101 | noinst_HEADERS += compat/arc4random.h |
120 | noinst_HEADERS += compat/arc4random_aix.h | 102 | noinst_HEADERS += compat/arc4random_aix.h |