summaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.h
AgeCommit message (Collapse)Author
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2011-09-25HOSTNAME_MAX: Moved to curl_gethostname.hSteve Holme
Moved HOSTNAME_MAX #define into curl_gethostname.h rather than being locally defined in curl_gethostname.c, curl_ntlm_msgs.c and smtp.c.
2010-08-07build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador
2010-07-30NTLM tests: boost coverage by forcing the hostnameKamil 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.