curl/lib
Marcel Raad 9bc92eeb0e
NTLM: check for features with #ifdef instead of #if
Feature defines are normally checked with #ifdef instead of #if in the rest of
the codebase. Additionally, some compilers warn when a macro is implicitly
evaluated to 0 because it is not defined, which was the case here.

Ref: https://github.com/curl/curl/pull/1362#discussion_r108605101
Closes https://github.com/curl/curl/pull/1367
2017-03-29 20:16:09 +02:00
..
vauth NTLM: check for features with #ifdef instead of #if 2017-03-29 20:16:09 +02:00
vtls openssl: exclude DSA code when OPENSSL_NO_DSA is defined 2017-03-28 03:54:31 -04:00
.gitignore VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c ares: Curl_resolver_wait_resolv: clear *entry first in function 2017-03-07 08:08:55 +01:00
asyn-thread.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
asyn.h
base64.c
checksrc.pl tests: checksrc compliance 2016-12-19 02:31:59 -05:00
CMakeLists.txt
config-amigaos.h config-amigaos.h: (embarrassed) made the line shorter 2016-12-18 23:46:17 +01:00
config-dos.h
config-mac.h
config-os400.h
config-riscos.h
config-symbian.h checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
config-tpf.h
config-vxworks.h
config-win32.h spelling fixes 2017-03-26 23:56:23 +02:00
config-win32ce.h spelling fixes 2017-03-26 23:56:23 +02:00
conncache.c conncache: make hashkey avoid malloc 2017-03-29 00:15:46 +02:00
conncache.h
connect.c Improve code readbility 2017-03-13 23:11:45 +01:00
connect.h http_proxy: Fix proxy CONNECT hang on pending data 2016-12-19 02:26:52 -05:00
content_encoding.c Improve code readbility 2017-03-13 23:11:45 +01:00
content_encoding.h
cookie.c Improve code readbility 2017-03-13 23:11:45 +01:00
cookie.h
curl_addrinfo.c Improve code readbility 2017-03-13 23:11:45 +01:00
curl_addrinfo.h unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00
curl_base64.h
curl_config.h.cmake CMake: Add DarwinSSL support 2017-03-05 14:42:53 +01:00
curl_des.c use *.sourceforge.io and misc URL updates 2017-02-06 19:21:05 +00:00
curl_des.h
curl_endian.c Declare endian read functions argument as a const pointer. 2016-11-24 16:14:21 +01:00
curl_endian.h Declare endian read functions argument as a const pointer. 2016-11-24 16:14:21 +01:00
curl_fnmatch.c Improve code readbility 2017-03-13 23:11:45 +01:00
curl_fnmatch.h
curl_gethostname.c checksrc: move open braces to comply with function declaration style 2016-11-24 23:58:22 +01:00
curl_gethostname.h
curl_gssapi.c checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
curl_gssapi.h
curl_hmac.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h spelling fixes 2017-03-26 23:56:23 +02:00
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c NTLM: check for features with #ifdef instead of #if 2017-03-29 20:16:09 +02:00
curl_ntlm_core.h NTLM: check for features with #ifdef instead of #if 2017-03-29 20:16:09 +02:00
curl_ntlm_wb.c use *.sourceforge.io and misc URL updates 2017-02-06 19:21:05 +00:00
curl_ntlm_wb.h
curl_printf.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
curl_sasl.h
curl_sec.h checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
curl_setup_once.h
curl_setup.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
curl_sspi.c
curl_sspi.h
curl_threads.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
curl_threads.h checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
curlx.h
dict.c fix potential use of uninitialized variables 2017-03-04 21:37:03 +01:00
dict.h
dotdot.c
dotdot.h
easy.c pause: handle mixed types of data when paused 2017-03-28 13:27:49 +02:00
easyif.h
escape.c Improve code readbility 2017-03-13 23:11:45 +01:00
escape.h
file.c Improve code readbility 2017-03-13 23:11:45 +01:00
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c Improve code readbility 2017-03-13 23:11:45 +01:00
formdata.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
ftp.c spelling fixes 2017-03-26 23:56:23 +02:00
ftp.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
ftplistparser.c Improve code readbility 2017-03-13 23:11:45 +01:00
ftplistparser.h
getenv.c
getinfo.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
getinfo.h
gopher.c fix potential use of uninitialized variables 2017-03-04 21:37:03 +01:00
gopher.h
hash.c Improve code readbility 2017-03-13 23:11:45 +01:00
hash.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
hmac.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
hostasyn.c
hostcheck.c Improve code readbility 2017-03-13 23:11:45 +01:00
hostcheck.h
hostip4.c checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
hostip6.c
hostip.c spelling fixes 2017-03-26 23:56:23 +02:00
hostip.h spelling fixes 2017-03-26 23:56:23 +02:00
hostsyn.c
http2.c http2: fix memory-leak when denying push streams 2017-02-13 10:35:18 +01:00
http2.h http2: Fix crashes when parent stream gets aborted 2016-11-28 15:06:17 +01:00
http_chunks.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
http_chunks.h
http_digest.c lib: fix MSVC compiler warnings 2016-12-21 11:07:26 +01:00
http_digest.h
http_negotiate.c proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
http_negotiate.h
http_ntlm.c use *.sourceforge.io and misc URL updates 2017-02-06 19:21:05 +00:00
http_ntlm.h
http_proxy.c Improve code readbility 2017-03-13 23:11:45 +01:00
http_proxy.h proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
http.c http: do not treat FTPS over CONNECT as HTTPS 2017-03-28 17:04:16 +02:00
http.h http2: disable server push if not requested 2017-01-15 11:45:32 +00:00
idn_win32.c
if2ip.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
if2ip.h
imap.c spelling fixes 2017-03-26 23:56:23 +02:00
imap.h
inet_ntop.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
inet_ntop.h
inet_pton.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
inet_pton.h
krb5.c checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
ldap.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
libcurl.def
libcurl.plist
libcurl.rc *.rc: escape non-ASCII/non-UTF-8 character for clarity 2017-01-19 11:35:48 +00:00
libcurl.vers.in
llist.c
llist.h
Makefile.am VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
makefile.amiga
Makefile.b32 spelling fixes 2017-03-26 23:56:23 +02:00
makefile.dj
Makefile.inc
Makefile.m32
Makefile.netware spelling fixes 2017-03-26 23:56:23 +02:00
Makefile.vxworks
Makefile.Watcom
md4.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
md5.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
memdebug.c spelling fixes 2017-03-26 23:56:23 +02:00
memdebug.h
mk-ca-bundle.pl
mk-ca-bundle.vbs
mprintf.c Improve code readbility 2017-03-13 23:11:45 +01:00
multi.c pause: handle mixed types of data when paused 2017-03-28 13:27:49 +02:00
multihandle.h proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
multiif.h lib: fix compiler warnings after de4de4e3c7 2016-11-18 10:11:55 +01:00
netrc.c
netrc.h
non-ascii.c checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
non-ascii.h
nonblock.c Improve code readbility 2017-03-13 23:11:45 +01:00
nonblock.h
nwlib.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
nwos.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
objnames-test08.sh
objnames-test10.sh
objnames.inc spelling fixes 2017-03-26 23:56:23 +02:00
openldap.c
parsedate.c
parsedate.h
pingpong.c spelling fixes 2017-03-26 23:56:23 +02:00
pingpong.h spelling fixes 2017-03-26 23:56:23 +02:00
pipeline.c
pipeline.h
pop3.c URL: only accept ";options" in SMTP/POP3/IMAP URL schemes 2017-02-10 14:51:53 +01:00
pop3.h
progress.c spelling fixes 2017-03-26 23:56:23 +02:00
progress.h
rand.c spelling fixes 2017-03-26 23:56:23 +02:00
rand.h rand: pass in number of randoms as an unsigned argument 2016-11-21 07:51:42 +01:00
rtsp.c spelling fixes 2017-03-26 23:56:23 +02:00
rtsp.h
security.c ftp-gss: check for init before use 2016-12-24 23:35:43 +01:00
select.c spelling fixes 2017-03-26 23:56:23 +02:00
select.h lib: fix compiler warnings after de4de4e3c7 2016-11-18 10:11:55 +01:00
sendf.c pause: handle mixed types of data when paused 2017-03-28 13:27:49 +02:00
sendf.h http_proxy: Fix proxy CONNECT hang on pending data 2016-12-19 02:26:52 -05:00
setup-os400.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
setup-vms.h checksrc: move open braces to comply with function declaration style 2016-11-24 23:58:22 +01:00
share.c
share.h checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
sigpipe.h
slist.c
slist.h
smb.c NTLM: check for features with #ifdef instead of #if 2017-03-29 20:16:09 +02:00
smb.h
smtp.c URL: only accept ";options" in SMTP/POP3/IMAP URL schemes 2017-02-10 14:51:53 +01:00
smtp.h
sockaddr.h
socks_gssapi.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
socks_sspi.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
socks.c Improve code readbility 2017-03-13 23:11:45 +01:00
socks.h proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
speedcheck.c Improve code readbility 2017-03-13 23:11:45 +01:00
speedcheck.h
splay.c Improve code readbility 2017-03-13 23:11:45 +01:00
splay.h
ssh.c Improve code readbility 2017-03-13 23:11:45 +01:00
ssh.h
strcase.c Improve code readbility 2017-03-13 23:11:45 +01:00
strcase.h proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
strdup.c
strdup.h
strerror.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
strerror.h
strtok.c
strtok.h
strtoofft.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
strtoofft.h
system_win32.c spelling fixes 2017-03-26 23:56:23 +02:00
system_win32.h
telnet.c Improve code readbility 2017-03-13 23:11:45 +01:00
telnet.h
tftp.c Improve code readbility 2017-03-13 23:11:45 +01:00
tftp.h
timeval.c Improve code readbility 2017-03-13 23:11:45 +01:00
timeval.h
transfer.c spelling fixes 2017-03-26 23:56:23 +02:00
transfer.h
url.c http: Fix proxy connection reuse with basic-auth 2017-03-28 03:54:43 -04:00
url.h url: proxy: Use 443 as default port for https proxies 2016-11-25 10:01:58 +01:00
urldata.h pause: handle mixed types of data when paused 2017-03-28 13:27:49 +02:00
version.c curl_version_info: add CURL_VERSION_HTTPS_PROXY 2016-11-26 17:28:53 +01:00
warnless.c warnless: suppress compiler warning 2017-02-28 09:10:18 +01:00
warnless.h
wildcard.c
wildcard.h
x509asn1.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
x509asn1.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00