Make things compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4589 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -90,6 +90,20 @@ usage(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef KRB5
|
||||||
|
/* XXX ugly hack to setup dns-proxy stuff */
|
||||||
|
#define Authenticator asn1_Authenticator
|
||||||
|
#include <krb5.h>
|
||||||
|
static void
|
||||||
|
krb5_init(void)
|
||||||
|
{
|
||||||
|
krb5_context context;
|
||||||
|
krb5_init_context(&context);
|
||||||
|
krb5_free_context(context);
|
||||||
|
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
@@ -100,13 +114,7 @@ main(int argc, char **argv)
|
|||||||
#endif /* FORWARD */
|
#endif /* FORWARD */
|
||||||
|
|
||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
{
|
krb5_init();
|
||||||
/* XXX ugly hack to setup dns-proxy stuff */
|
|
||||||
krb5_context context;
|
|
||||||
krb5_init_context(&context);
|
|
||||||
krb5_free_context(context);
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
tninit(); /* Clear out things */
|
tninit(); /* Clear out things */
|
||||||
|
Reference in New Issue
Block a user