use KRB5_LRQ_NONE #define
authorJohn Kohl <jtkohl@mit.edu>
Mon, 25 Mar 1991 11:38:34 +0000 (11:38 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 25 Mar 1991 11:38:34 +0000 (11:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1949 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/do_tgs_req.c
src/kdc/kdc_util.c

index 6f06dcc69438b4671846e34fdf4ad6b5191c12ae..00a05fbe28f583165a8216d2a5880ecf0278dad0 100644 (file)
@@ -524,7 +524,7 @@ tgt_again:
     reply_encpart.times.authtime = kdc_time;
 
 
-    nolrentry.lr_type = 0;             /* XXX 0 is unused?  cf. kdc_util.c */
+    nolrentry.lr_type = KRB5_LRQ_NONE;
     nolrentry.value = 0;
     nolrarray[0] = &nolrentry;
     nolrarray[1] = 0;
index d2d1cb9123ace739367101391261d6b1450da286..428cecba1b4f82dda52ab02578bc2b496066c566 100644 (file)
@@ -292,7 +292,7 @@ krb5_ticket **ticket;
 
 /* This probably wants to be updated if you support last_req stuff */
 
-static krb5_last_req_entry nolrentry = { 0, 0 }; /* type 0 is not used...? XXX */
+static krb5_last_req_entry nolrentry = { KRB5_LRQ_NONE, 0 };
 static krb5_last_req_entry *nolrarray[] = { &nolrentry, 0 };
 
 krb5_error_code