make this compile without krb4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10225 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -270,6 +270,7 @@ get_server(krb5_context context,
|
|||||||
KRB5_TGS_NAME, *client_realm, NULL);
|
KRB5_TGS_NAME, *client_realm, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef KRB4
|
||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
do_524init(krb5_context context, krb5_ccache ccache,
|
do_524init(krb5_context context, krb5_ccache ccache,
|
||||||
krb5_creds *creds, const char *server)
|
krb5_creds *creds, const char *server)
|
||||||
@@ -306,6 +307,7 @@ do_524init(krb5_context context, krb5_ccache ccache,
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
renew_validate(krb5_context context,
|
renew_validate(krb5_context context,
|
||||||
@@ -647,7 +649,9 @@ main (int argc, char **argv)
|
|||||||
exit(ret != 0);
|
exit(ret != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef KRB4
|
||||||
if(!convert_524)
|
if(!convert_524)
|
||||||
|
#endif
|
||||||
get_new_tickets(context, principal, ccache, ticket_life);
|
get_new_tickets(context, principal, ccache, ticket_life);
|
||||||
|
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
|
Reference in New Issue
Block a user