From: Chris Provenzano Date: Wed, 13 Dec 1995 09:00:23 +0000 (+0000) Subject: * kdb_xdr.c : Remove mkvno for krb5_db_entry X-Git-Tag: krb5-1.0-beta6~695 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7f863d23301ea0ffe1a831ff48f1afe3d29a839;p=krb5.git * kdb_xdr.c : Remove mkvno for krb5_db_entry git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7220 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 17359f9a5..c7fc45f47 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,6 @@ +Wed Dec 13 03:51:53 1995 Chris Provenzano (proven@mit.edu) + + * kdb_xdr.c : Remove mkvno for krb5_db_entry Tue Dec 12 01:20:02 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/lib/kdb/kdb_xdr.c b/src/lib/kdb/kdb_xdr.c index debab57df..5953d6dd2 100644 --- a/src/lib/kdb/kdb_xdr.c +++ b/src/lib/kdb/kdb_xdr.c @@ -269,8 +269,8 @@ krb5_encode_princ_contents(context, content, entry) /* * First allocate enough space for all the data. * Need 2 bytes for the length of the base structure - * then 40 [9 * 4 + 2 * 2] bytes for the base information - * [ mkvno, attributes, max_life, max_renewable_life, expiration, + * then 36 [ 8 * 4 + 2 * 2] bytes for the base information + * [ attributes, max_life, max_renewable_life, expiration, * pw_expiration, last_success, last_failed, fail_auth_count ] * [ n_key_data, n_tl_data ] * then XX bytes [ e_length ] for the extra data [ e_data ] @@ -324,10 +324,6 @@ krb5_encode_princ_contents(context, content, entry) krb5_kdb_encode_int16(entry->len, nextloc); nextloc += 2; - /* Master Key Version */ - krb5_kdb_encode_int32(entry->mkvno, nextloc); - nextloc += 4; - /* Attributes */ krb5_kdb_encode_int32(entry->attributes, nextloc); nextloc += 4; @@ -474,10 +470,6 @@ krb5_decode_princ_contents(context, content, entry) krb5_kdb_decode_int16(nextloc, entry->len); nextloc += 2; - /* Master Key Version */ - krb5_kdb_decode_int32(nextloc, entry->mkvno); - nextloc += 4; - /* Attributes */ krb5_kdb_decode_int32(nextloc, entry->attributes); nextloc += 4;