From d2c6e57cd9e513e995cc844c4cda154a98145d05 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 25 Mar 1991 11:38:34 +0000 Subject: [PATCH] use KRB5_LRQ_NONE #define git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1949 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_tgs_req.c | 2 +- src/kdc/kdc_util.c | 2 +- 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 -- 2.26.2