]> git.ipfire.org Git - thirdparty/curl.git/commit
urldata.h: move SSPI-specific #include to correct location
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 30 Jul 2017 21:19:19 +0000 (23:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Aug 2017 12:56:58 +0000 (14:56 +0200)
commit20c6cf7e951e70d4c456bd4171b9f25f04f23a87
treea4e09c72664443d05d78d31fb15b578fdbc9fa00
parent583cb03f9122bee70aabc186159384e1fb44ecb5
urldata.h: move SSPI-specific #include to correct location

In 86b889485 (sasl_gssapi: Added GSS-API based Kerberos V5 variables,
2014-12-03), an SSPI-specific field was added to the kerberos5data
struct without moving the #include "curl_sspi.h" later in the same file.

This broke the build when SSPI was enabled, unless Secure Channel was
used as SSL backend, because it just so happens that Secure Channel also
requires "curl_sspi.h" to be #included.

In f4739f639 (urldata: include curl_sspi.h when Windows SSPI is enabled,
2017-02-21), this bug was fixed incorrectly: Instead of moving the
appropriate conditional #include, the Secure Channel-conditional part
was now also SSPI-conditional.

Fix this problem by moving the correct #include instead.

This is also required for an upcoming patch that moves all the Secure
Channel-specific stuff out of urldata.h and encapsulates it properly in
vtls/schannel.c instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
lib/urldata.h