need to put something in the last_req field, it's not optional
authorJohn Kohl <jtkohl@mit.edu>
Thu, 14 Mar 1991 17:20:19 +0000 (17:20 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 14 Mar 1991 17:20:19 +0000 (17:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1919 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/kdc_util.c

index 6636fccd6066f34a0d8de55c9a834cc20fb0b934..5b4b5c462bff49f02da6d3ef1a9f6450be70172c 100644 (file)
@@ -283,7 +283,8 @@ krb5_ticket **ticket;
 
 /* This probably wants to be updated if you support last_req stuff */
 
-static krb5_last_req_entry *nolrarray[] = { 0 };
+static krb5_last_req_entry nolrentry = { 0, 0 }; /* type 0 is not used...? XXX */
+static krb5_last_req_entry *nolrarray[] = { &nolrentry, 0 };
 
 krb5_error_code
 fetch_last_req_info(dbentry, lrentry)