From: Tom Yu Date: Thu, 12 Jul 2012 03:09:37 +0000 (-0400) Subject: Add comment documenting make_toolong_error() X-Git-Tag: krb5-1.11-alpha1~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116e2b2980e2f15f78425f12aeb218c2c96b3e1d;p=thirdparty%2Fkrb5.git 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. --- diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index fb4997327e..d3babe7f9f 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) {