From 9f6d3a3f27bad3994326af638aa0b82f218bc847 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 21 Mar 1996 03:44:10 +0000 Subject: [PATCH] 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 --- src/lib/krb5/asn.1/ChangeLog | 5 +++++ src/lib/krb5/asn.1/krb5_decode.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 (); } -- 2.26.2