summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kdc/do_tgs_req.c2
-rw-r--r--src/kdc/kdc_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index 6f06dcc69..00a05fbe2 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -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;
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c
index d2d1cb912..428cecba1 100644
--- a/src/kdc/kdc_util.c
+++ b/src/kdc/kdc_util.c
@@ -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