]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Add comment documenting make_toolong_error()
authorTom Yu <tlyu@mit.edu>
Thu, 12 Jul 2012 03:09:37 +0000 (23:09 -0400)
committerTom Yu <tlyu@mit.edu>
Thu, 12 Jul 2012 03:11:24 +0000 (23:11 -0400)
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

index fb4997327e4ea956ab6c7cde80ed2b07f614353f..d3babe7f9f83a518561cbf0b74c1783fe30550d7 100644 (file)
@@ -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)
 {