summaryrefslogtreecommitdiff
path: root/lib/ZInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZInit.c')
-rw-r--r--lib/ZInit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ZInit.c b/lib/ZInit.c
index 42ef2ad..d37ba04 100644
--- a/lib/ZInit.c
+++ b/lib/ZInit.c
@@ -38,6 +38,14 @@ static const char rcsid_ZInitialize_c[] =
static int z_get_host_realm_replacement(char *, char ***);
#endif
+#if defined(HAVE_KRB5)
+int Zauthtype = 5;
+#elif defined(HAVE_KRB4)
+int Zauthtype = 4;
+#else
+int Zauthtype = 0;
+#endif
+
Code_t
ZInitialize(void)
{