Commit f54a2a41 authored by Pekka Pessi's avatar Pekka Pessi

auth_plugin.c: moved info about ntlm plugin to auth_plugin_ntlm.c.

darcs-hash:20060518195604-65a35-4a24abf326a424b18ab2c2b89f87c5ebfaff13ec.gz
parent e72c591d
......@@ -41,10 +41,6 @@
#include <sofia-sip/auth_digest.h>
#if HAVE_SOFIA_NTLM
#include <sofia-sip/auth_ntlm.h>
#endif
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
......@@ -64,18 +60,12 @@ static char const __func__[] = "auth_plugin";
extern auth_scheme_t auth_scheme_basic[];
extern auth_scheme_t auth_scheme_digest[];
extern auth_scheme_t auth_scheme_delayed[];
#if HAVE_SOFIA_NTLM
extern auth_scheme_t auth_scheme_ntlm[];
#endif
enum { N = 32 };
static auth_scheme_t *schemes[N] = {
auth_scheme_basic,
auth_scheme_digest,
#if HAVE_SOFIA_NTLM
auth_scheme_ntlm,
#endif
auth_scheme_delayed
};
......@@ -144,10 +134,6 @@ auth_mod_t *auth_mod_create(su_root_t *root,
bscheme = auth_scheme_basic;
else if (strcasecmp(base, "Digest") == 0)
bscheme = auth_scheme_digest;
#if HAVE_SOFIA_NTLM
else if (strcasecmp(base, "NTLM") == 0)
bscheme = auth_scheme_ntlm;
#endif
if (base == NULL || bscheme) {
int i;
......
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