fixes for krb4

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3609 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-10-14 21:59:37 +00:00
parent e3e4f5fdc6
commit 49e9507254
5 changed files with 88 additions and 42 deletions

View File

@@ -121,6 +121,7 @@ doit_v4 (char *host, int port)
}
#endif
#ifdef KRB5
static int
doit_v5 (char *host, int port)
{
@@ -165,7 +166,7 @@ doit_v5 (char *host, int port)
}
loop (s);
}
#endif
#ifdef KRB4
@@ -246,9 +247,11 @@ main(int argc, char **argv)
}
}
#ifdef KRB5
if (ret && use_v5) {
ret = doit_v5 (argv[0], port);
}
#endif
#ifdef KRB4
if (ret && use_v4) {
ret = doit_v4 (argv[0], port);