summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2012-07-11 23:09:37 -0400
committerTom Yu <tlyu@mit.edu>2012-07-11 23:11:24 -0400
commit116e2b2980e2f15f78425f12aeb218c2c96b3e1d (patch)
tree4f0120c5a2696ed5bbdeb75d70bba7cff70793e8 /src
parent80097093062822dde3f1140d250023576e52f59c (diff)
downloadkrb5-116e2b2980e2f15f78425f12aeb218c2c96b3e1d.tar.gz
krb5-116e2b2980e2f15f78425f12aeb218c2c96b3e1d.tar.xz
krb5-116e2b2980e2f15f78425f12aeb218c2c96b3e1d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/kdc/kdc_util.c4
1 files changed, 4 insertions, 0 deletions
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)
{