Skip to content

Commit

Permalink
use KRB5_LRQ_NONE #define
Browse files Browse the repository at this point in the history
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1949 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
jtkohl committed Mar 25, 1991
1 parent e52503c commit 3780a23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/kdc/do_tgs_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ krb5_data **response; /* filled in with a response packet */
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;
Expand Down
2 changes: 1 addition & 1 deletion src/kdc/kdc_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3780a23

Please sign in to comment.