Skip to content

Commit

Permalink
Remove sendto_kdc debugging code
Browse files Browse the repository at this point in the history
It's a lot of code, and trace logging should cover most of the cases
where it's useful.
  • Loading branch information
greghudson committed Apr 12, 2013
1 parent f423c28 commit 387c197
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 257 deletions.
5 changes: 0 additions & 5 deletions src/lib/apputils/net-server.c
Expand Up @@ -1215,18 +1215,13 @@ loop_setup_routing_socket(verto_ctx *ctx, void *handle, const char *progname)
return 0;
}

/* XXX */
extern void (*krb5int_sendtokdc_debug_handler)(const void*, size_t);

krb5_error_code
loop_setup_network(verto_ctx *ctx, void *handle, const char *prog)
{
struct socksetup setup_data;
verto_ev *ev;
int i;

krb5int_sendtokdc_debug_handler = klog_handler;

/* Close any open connections. */
FOREACH_ELT(events, i, ev)
verto_del(ev);
Expand Down
1 change: 0 additions & 1 deletion src/lib/krb5/libkrb5.exports
Expand Up @@ -605,7 +605,6 @@ krb5int_get_authdata_containee_types
krb5int_init_context_kdc
krb5int_initialize_library
krb5int_parse_enctype_list
krb5int_sendtokdc_debug_handler
krb5int_trace
profile_abandon
profile_add_relation
Expand Down
7 changes: 0 additions & 7 deletions src/lib/krb5/os/locate_kdc.c
Expand Up @@ -114,13 +114,6 @@ Tprintf(const char *fmt, ...)
#endif
}

#if 0
extern void krb5int_debug_fprint(const char *, ...);
#define dprint krb5int_debug_fprint
#else
static inline void dprint(const char *fmt, ...) { }
#endif

/* Make room for a new server entry in list and return a pointer to the new
* entry. (Do not increment list->nservers.) */
static struct server_entry *
Expand Down
2 changes: 0 additions & 2 deletions src/lib/krb5/os/os-proto.h
Expand Up @@ -94,8 +94,6 @@ krb5_error_code krb5_make_full_ipaddr(krb5_context,
krb5_error_code krb5_try_realm_txt_rr(const char *, const char *,
char **realm);

void krb5int_debug_fprint (const char *fmt, ...);

int _krb5_use_dns_realm (krb5_context);
int _krb5_use_dns_kdc (krb5_context);
int _krb5_conf_boolean (const char *);
Expand Down

0 comments on commit 387c197

Please sign in to comment.