From: Ezra Peisach Date: Wed, 5 Jun 1996 20:00:43 +0000 (+0000) Subject: * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part, X-Git-Tag: krb5-1.0-beta6~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91e74ae1fc32ba9d037e7c7f975f7c072dd4ed6e;p=krb5.git * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part, starttime will equal authtime if not sent OTW. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8232 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index ddce14a2c..2155427c4 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 5 15:59:12 1996 Ezra Peisach + + * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part, + starttime will equal authtime if not sent OTW. + Tue Apr 2 20:57:12 1996 Chris Provenzano * utility.c (krb5_data_hex_parse()) : Do a strdup() of string before diff --git a/src/tests/asn.1/krb5_decode_test.c b/src/tests/asn.1/krb5_decode_test.c index 1eae1f699..c65b92d17 100644 --- a/src/tests/asn.1/krb5_decode_test.c +++ b/src/tests/asn.1/krb5_decode_test.c @@ -100,7 +100,8 @@ void main() decode_run("enc_kdc_rep_part","","7A 82 01 10 30 82 01 0C A0 13 30 11 A0 03 02 01 01 A1 0A 04 08 31 32 33 34 35 36 37 38 A1 38 30 36 30 19 A0 04 02 02 00 FB A1 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A 30 19 A0 04 02 02 00 FB A1 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A A2 03 02 01 2A A3 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A A4 07 03 05 00 FE DC BA 98 A5 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A A6 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A A7 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A A8 11 18 0F 31 39 39 34 30 36 31 30 30 36 30 33 31 37 5A A9 10 1B 0E 41 54 48 45 4E 41 2E 4D 49 54 2E 45 44 55 AA 1A 30 18 A0 03 02 01 01 A1 11 30 0F 1B 06 68 66 74 73 61 69 1B 05 65 78 74 72 61 AB 20 30 1E 30 0D A0 03 02 01 02 A1 06 04 04 12 D0 00 23 30 0D A0 03 02 01 02 A1 06 04 04 12 D0 00 23",decode_krb5_enc_kdc_rep_part,ktest_equal_enc_kdc_rep_part); ref.key_exp = 0; - ref.times.starttime = 0; + /* ref.times.starttime = 0;*/ + ref.times.starttime = ref.times.authtime; ref.times.renew_till = 0; ref.flags &= ~TKT_FLG_RENEWABLE; ktest_destroy_addresses(&(ref.caddrs));