summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2018-04-10 08:50:29 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2018-04-16 20:11:41 +0200
commit627bd7da760c67211a6b7d3c98bba94c6213323e (patch)
treeffd7034ccbdbf2773e1364b830de46048fc1b69e /lib/urldata.h
parent6cbe96975b57586cf4b8dd9b20f0ac9712d96839 (diff)
downloadcurl-627bd7da760c67211a6b7d3c98bba94c6213323e.tar.gz
urldata: make service names unconditional
The ifdefs have become quite long. Also, the condition for the definition of CURLOPT_SERVICE_NAME and for setting it from CURLOPT_SERVICE_NAME have diverged. We will soon also need the two options for NTLM, at least when using SSPI, for https://github.com/curl/curl/pull/1660. Just make the definitions unconditional to make that easier. Closes https://github.com/curl/curl/pull/2479
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 35bbb8590..196aa6395 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1422,13 +1422,8 @@ enum dupstring {
STRING_SSH_HOST_PUBLIC_KEY_MD5, /* md5 of host public key in ascii hex */
STRING_SSH_KNOWNHOSTS, /* file name of knownhosts file */
#endif
-#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
STRING_PROXY_SERVICE_NAME, /* Proxy service name */
-#endif
-#if !defined(CURL_DISABLE_CRYPTO_AUTH) || defined(USE_KERBEROS5) || \
- defined(USE_SPNEGO) || defined(HAVE_GSSAPI)
STRING_SERVICE_NAME, /* Service name */
-#endif
STRING_MAIL_FROM,
STRING_MAIL_AUTH,