From: Theodore Tso Date: Thu, 21 Mar 1996 03:44:10 +0000 (+0000) Subject: Fix 16 bit vs. 32bit error in the encoded timestamp structure X-Git-Tag: krb5-1.0-beta6~315 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f6d3a3f27bad3994326af638aa0b82f218bc847;p=krb5.git Fix 16 bit vs. 32bit error in the encoded timestamp structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7688 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index b4e161ff4..910135544 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 20 22:43:17 1996 Theodore Y. Ts'o + + * krb5_decode.c (decode_krb5_pa_enc_ts): Fix 16 bit vs. 32bit + error in the encoded timestamp structure. + Wed Mar 13 12:52:32 1996 Ezra Peisach * krb5_decode.c (decode_krb5_ticket, decode_krb5_enc_tkt_part, diff --git a/src/lib/krb5/asn.1/krb5_decode.c b/src/lib/krb5/asn.1/krb5_decode.c index 2cc15ce4e..c8ffdb745 100644 --- a/src/lib/krb5/asn.1/krb5_decode.c +++ b/src/lib/krb5/asn.1/krb5_decode.c @@ -764,7 +764,7 @@ krb5_error_code decode_krb5_pa_enc_ts(code, rep) { begin_structure(); get_field((*rep)->patimestamp,0,asn1_decode_kerberos_time); if (tagnum == 1) { - get_field((*rep)->pausec,1,asn1_decode_int); + get_field((*rep)->pausec,1,asn1_decode_int32); } else (*rep)->pausec = 0; end_structure (); }