aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Boardman <amb@mit.edu>2006-09-08 21:56:29 +0000
committerAndrew Boardman <amb@mit.edu>2006-09-08 21:56:29 +0000
commitd23bd0de56fd3dcdde317736df288305f918a631 (patch)
tree51c9ddd69c44e59a64c31552eaef3aae1badd3c9
parent5b8af468cb1c9aa89232266fa9b2f73cf1bb99ad (diff)
downloadkrb5-d23bd0de56fd3dcdde317736df288305f918a631.zip
krb5-d23bd0de56fd3dcdde317736df288305f918a631.tar.gz
krb5-d23bd0de56fd3dcdde317736df288305f918a631.tar.bz2
Whitespace cleanup and state update
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18576 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--TODO11
-rw-r--r--src/lib/krb5/krb/gc_frm_kdc.c10
-rw-r--r--src/lib/krb5/krb/gc_via_tkt.c4
3 files changed, 13 insertions, 12 deletions
diff --git a/TODO b/TODO
index c3386ba..d782448 100644
--- a/TODO
+++ b/TODO
@@ -11,19 +11,20 @@ outstanding issues:
final cleanup:
=============
-- review code for:
+- rereview code
- string safety, particularly strcmp use -- little is guaranteed to be a string,
- do not use string functions without extreme caution.
+ do not use string functions without extreme caution. (done)
- memory leaks (first pass done, vg runs clean)
- - other memory management issues
-- scan for leftover bogosities with "XXX" tag (in new code only!)
-- review code format
+ - other memory management issues (open-ended, but looking)
+- review code format (whitespace checked)
+ -- nuke icky // comments (and probably attatched code)
- catalog namespace changes for review
integration issues:
==================
- review namespace use
- decide whether to up MAXHOPS
+- merge with current trunk
testing issues/open questions:
=============================
diff --git a/src/lib/krb5/krb/gc_frm_kdc.c b/src/lib/krb5/krb/gc_frm_kdc.c
index 805cbe9..daae9ca 100644
--- a/src/lib/krb5/krb/gc_frm_kdc.c
+++ b/src/lib/krb5/krb/gc_frm_kdc.c
@@ -1119,11 +1119,11 @@ krb5_get_cred_from_kdc_renew(krb5_context context, krb5_ccache ccache,
krb5_boolean krb5_is_referral_realm(krb5_data *r)
{
- /*
- * Check for a match with KRB5_REFERRAL_REALM. Currently this relies
- * on that string constant being zero-length. (Unlike principal realm
- * names, KRB5_REFERRAL_REALM is known to be a string.)
- */
+ /*
+ * Check for a match with KRB5_REFERRAL_REALM. Currently this relies
+ * on that string constant being zero-length. (Unlike principal realm
+ * names, KRB5_REFERRAL_REALM is known to be a string.)
+ */
#ifdef DEBUG_REFERRALS
#if 0
printf("krb5_is_ref_realm: checking <%s> for referralness: %s\n",
diff --git a/src/lib/krb5/krb/gc_via_tkt.c b/src/lib/krb5/krb/gc_via_tkt.c
index 8629f72..c36d29b 100644
--- a/src/lib/krb5/krb/gc_via_tkt.c
+++ b/src/lib/krb5/krb/gc_via_tkt.c
@@ -162,8 +162,8 @@ krb5_get_cred_via_tkt (krb5_context context, krb5_creds *tkt,
free(enctypes);
if (retval) {
#ifdef DEBUG_REFERRALS
- printf("krb5_get_cred_via_tkt ending early after send_tgs with: %s\n",
- error_message(retval));
+ printf("krb5_get_cred_via_tkt ending early after send_tgs with: %s\n",
+ error_message(retval));
#endif
return retval;
}