summaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.h
Commit message (Collapse)AuthorAgeFilesLines
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* HOSTNAME_MAX: Moved to curl_gethostname.hSteve Holme2011-09-251-0/+4
| | | | | Moved HOSTNAME_MAX #define into curl_gethostname.h rather than being locally defined in curl_gethostname.c, curl_ntlm_msgs.c and smtp.c.
* build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador2010-08-071-8/+1
|
* NTLM tests: boost coverage by forcing the hostnameKamil Dudka2010-07-301-0/+34
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.