diff options
author | Theodore Tso <tytso@mit.edu> | 1996-03-21 03:44:10 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1996-03-21 03:44:10 +0000 |
commit | 9f6d3a3f27bad3994326af638aa0b82f218bc847 (patch) | |
tree | e11cc1a8cafbcf7f638cb1445c1cd8d3515de107 /src/lib | |
parent | 8a2c3690c4652d46efac2f80554f694a32e7e1f2 (diff) | |
download | krb5-9f6d3a3f27bad3994326af638aa0b82f218bc847.zip krb5-9f6d3a3f27bad3994326af638aa0b82f218bc847.tar.gz krb5-9f6d3a3f27bad3994326af638aa0b82f218bc847.tar.bz2 |
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
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/krb5/asn.1/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/krb5/asn.1/krb5_decode.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index b4e161f..9101355 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 <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, diff --git a/src/lib/krb5/asn.1/krb5_decode.c b/src/lib/krb5/asn.1/krb5_decode.c index 2cc15ce..c8ffdb7 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 (); } |