From 116e2b2980e2f15f78425f12aeb218c2c96b3e1d Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 11 Jul 2012 23:09:37 -0400 Subject: Add comment documenting make_toolong_error() The KDC doesn't obviously call make_toolong_error(), but some code in net-server.c (which is linked into the KDC) does. Document this fact. --- src/kdc/kdc_util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index fb4997327..d3babe7f9 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -2575,6 +2575,10 @@ krb5int_get_domain_realm_mapping(krb5_context context, return 0; } +/* + * Although the KDC doesn't call this function directly, + * process_tcp_connection_read() in net-server.c does call it. + */ krb5_error_code make_toolong_error (void *handle, krb5_data **out) { -- cgit