diff options
Diffstat (limited to 'src/core/transport/http')
-rw-r--r-- | src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c | 3 | ||||
-rw-r--r-- | src/core/transport/http/sender/ntlm/ntlm.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c b/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c index e4c7000..08dbc69 100644 --- a/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c +++ b/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c @@ -14,6 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifdef AXIS2_NTLM_ENABLED #include <axis2_ntlm.h> #include <axutil_utils_defines.h> @@ -380,4 +381,4 @@ heimdal_ntlm_wrapper_create_type3_message( return AXIS2_SUCCESS; } - +#endif diff --git a/src/core/transport/http/sender/ntlm/ntlm.c b/src/core/transport/http/sender/ntlm/ntlm.c index 383809b..e17c6c9 100644 --- a/src/core/transport/http/sender/ntlm/ntlm.c +++ b/src/core/transport/http/sender/ntlm/ntlm.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#ifdef AXIS2_NTLM_ENABLED + #include <axis2_ntlm.h> AXIS2_EXTERN void AXIS2_CALL @@ -56,3 +58,4 @@ axis2_ntlm_auth_create_type3_message( uname, passwd, domain, workstation); } +#endif
\ No newline at end of file |