Commit 80a7b1a8 authored by Martti Mela's avatar Martti Mela
Browse files

iptsec: still more ifdefs for NTLM enabling

darcs-hash:20060421112310-1b897-d0dc02450553208c9590edf562aa580d45f96deb.gz
parent 1a9319fc
...@@ -108,7 +108,7 @@ static msg_header_t *auc_digest_authorization(auth_client_t *ca, ...@@ -108,7 +108,7 @@ static msg_header_t *auc_digest_authorization(auth_client_t *ca,
char const *method, char const *method,
url_t const *url, url_t const *url,
msg_payload_t const *body); msg_payload_t const *body);
#if notyet #if HAVE_SOFIA_NTLM
static msg_header_t *auc_ntlm_authorization(auth_client_t *ca, static msg_header_t *auc_ntlm_authorization(auth_client_t *ca,
su_home_t *h, su_home_t *h,
char const *method, char const *method,
...@@ -240,7 +240,7 @@ int ca_challenge(auth_client_t *ca, ...@@ -240,7 +240,7 @@ int ca_challenge(auth_client_t *ca,
else if (strcasecmp(scheme, "Digest") == 0) { else if (strcasecmp(scheme, "Digest") == 0) {
ca->ca_authorize = auc_digest_authorization; ca->ca_authorize = auc_digest_authorization;
} }
#if notyet #if HAVE_SOFIA_NTLM
else if (strcasecmp(scheme, "NTLM") == 0) { else if (strcasecmp(scheme, "NTLM") == 0) {
ca->ca_authorize = auc_ntlm_authorization; ca->ca_authorize = auc_ntlm_authorization;
} }
......
...@@ -1621,6 +1621,7 @@ int auth_validate_digest_nonce(auth_mod_t *am, ...@@ -1621,6 +1621,7 @@ int auth_validate_digest_nonce(auth_mod_t *am,
return 0; return 0;
} }
#if HAVE_SOFIA_NTLM
/** Find a NTLM credential header with matching realm and opaque. */ /** Find a NTLM credential header with matching realm and opaque. */
msg_auth_t *auth_ntlm_credentials(msg_auth_t *auth, msg_auth_t *auth_ntlm_credentials(msg_auth_t *auth,
char const *realm, char const *realm,
...@@ -1760,7 +1761,7 @@ msg_auth_t *auth_ntlm_credentials(msg_auth_t *auth, ...@@ -1760,7 +1761,7 @@ msg_auth_t *auth_ntlm_credentials(msg_auth_t *auth,
return NULL; return NULL;
} }
#endif /* HAVE_SOFIA_NTLM */
/* ====================================================================== */ /* ====================================================================== */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment