Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-09-18 | Curl_gethostname: return un-qualified machine name | Steve Holme | |
Fixed Curl_gethostname() so that it always returns the un-qualified machine name rather than being dependent on the socket provider. Note: The return of getenv("CURL_GETHOSTNAME") is also parsed in case the developer / test harness provided a fully qualified domain name as it's value as well. | |||
2010-08-07 | build: allow NTLM tests to run on more build configurations | U-D5B1PQ1J\Administrador | |
2010-07-30 | NTLM tests: boost coverage by forcing the hostname | Kamil Dudka | |
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it. |