krb5 commit: Add comment documenting make_toolong_error()
Tom Yu
tlyu at MIT.EDU
Wed Jul 11 23:40:51 EDT 2012
https://github.com/krb5/krb5/commit/116e2b2980e2f15f78425f12aeb218c2c96b3e1d
commit 116e2b2980e2f15f78425f12aeb218c2c96b3e1d
Author: Tom Yu <tlyu at mit.edu>
Date: Wed Jul 11 23:09:37 2012 -0400
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 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c
index fb49973..d3babe7 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)
{
More information about the cvs-krb5
mailing list