diff options
author | Dan Winship <danw@gnome.org> | 2013-10-17 18:03:05 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-10-17 18:03:05 -0400 |
commit | 38cbd9905ea3f87bab16663a90375dbd48b75b49 (patch) | |
tree | 556c2e64347ed0f2621ffb6f5bd9abf5d6efa4e4 | |
parent | 3c96f1977a556b76bc768edeb78497a2e92dd898 (diff) | |
download | libsoup-38cbd9905ea3f87bab16663a90375dbd48b75b49.tar.gz |
soup-auth-ntlm: fix build with --without-ntlm-auth
https://bugzilla.gnome.org/show_bug.cgi?id=710267
-rw-r--r-- | libsoup/soup-auth-ntlm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsoup/soup-auth-ntlm.c b/libsoup/soup-auth-ntlm.c index 19be6928..05541973 100644 --- a/libsoup/soup-auth-ntlm.c +++ b/libsoup/soup-auth-ntlm.c @@ -309,13 +309,17 @@ soup_auth_ntlm_update_connection (SoupConnectionAuth *auth, SoupMessage *msg, return TRUE; } +#ifdef USE_NTLM_AUTH if (priv->sso_available) { conn->state = SOUP_NTLM_SSO_FAILED; priv->password_state = SOUP_NTLM_PASSWORD_NONE; } else { +#endif conn->state = SOUP_NTLM_FAILED; priv->password_state = SOUP_NTLM_PASSWORD_REJECTED; +#ifdef USE_NTLM_AUTH } +#endif return TRUE; } |