drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24522 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -154,10 +154,6 @@ recv_conn (int sock, kx_context *kc,
|
|||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
if (ret && recv_v5_auth (kc, sock, msg) == 0)
|
if (ret && recv_v5_auth (kc, sock, msg) == 0)
|
||||||
ret = 0;
|
ret = 0;
|
||||||
#endif
|
|
||||||
#ifdef KRB4
|
|
||||||
if (ret && recv_v4_auth (kc, sock, msg) == 0)
|
|
||||||
ret = 0;
|
|
||||||
#endif
|
#endif
|
||||||
if (ret) {
|
if (ret) {
|
||||||
syslog (LOG_ERR, "unrecognized auth protocol: %x %x %x %x",
|
syslog (LOG_ERR, "unrecognized auth protocol: %x %x %x %x",
|
||||||
@@ -758,10 +754,8 @@ main (int argc, char **argv)
|
|||||||
} else {
|
} else {
|
||||||
#if defined(KRB5)
|
#if defined(KRB5)
|
||||||
port = krb5_getportbyname(NULL, "kx", "tcp", KX_PORT);
|
port = krb5_getportbyname(NULL, "kx", "tcp", KX_PORT);
|
||||||
#elif defined(KRB4)
|
|
||||||
port = k_getportbyname ("kx", "tcp", htons(KX_PORT));
|
|
||||||
#else
|
#else
|
||||||
#error define KRB4 or KRB5
|
#error define KRB5
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user