Fix 16 bit vs. 32bit error in the encoded timestamp structure
authorTheodore Tso <tytso@mit.edu>
Thu, 21 Mar 1996 03:44:10 +0000 (03:44 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 21 Mar 1996 03:44:10 +0000 (03:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7688 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/krb5_decode.c

index b4e161ff4de716fb5d0707a8ee8d67e3b1ab3797..9101355449589fcf8282136a645ef2bb748670a1 100644 (file)
@@ -1,3 +1,8 @@
+Wed Mar 20 22:43:17 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * 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  <epeisach@kangaroo.mit.edu>
 
        * krb5_decode.c (decode_krb5_ticket, decode_krb5_enc_tkt_part,
index 2cc15ce4e511d9f975f3de1b9a62c8a2ef4adf46..c8ffdb745ea06700998687af773eacacd9cb8772 100644 (file)
@@ -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 (); }