From 0d183c4c817e3a1d639ee1733e0087a08b7d7cba Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 3 Mar 1996 18:14:54 +0000 Subject: [PATCH] * krb5_decode_test.c (main): In krb5_enc_tkt_part (optionals NULL) test, set starttime to authtime. Matches change to lib/krb5/asn.1/krb5_decode.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7588 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/asn.1/ChangeLog | 5 +++++ src/tests/asn.1/krb5_decode_test.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index beac2f9fd..38edc4866 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 3 13:05:57 1996 Ezra Peisach + + * krb5_decode_test.c (main): In krb5_enc_tkt_part (optionals NULL) + test, set starttime to authtime. Matches change to + lib/krb5/asn.1/krb5_decode.c. Wed Nov 15 15:28:32 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/tests/asn.1/krb5_decode_test.c b/src/tests/asn.1/krb5_decode_test.c index 10b4b606e..d5d25dde9 100644 --- a/src/tests/asn.1/krb5_decode_test.c +++ b/src/tests/asn.1/krb5_decode_test.c @@ -78,7 +78,8 @@ void main() setup(krb5_enc_tkt_part,"krb5_enc_tkt_part",ktest_make_sample_enc_tkt_part); decode_run("enc_tkt_part","","63 82 01 14 30 82 01 10 A0 07 03 05 00 FE DC BA 98 A1 13 30 11 A0 03 02 01 01 A1 0A 04 08 31 32 33 34 35 36 37 38 A2 10 1B 0E 41 54 48 45 4E 41 2E 4D 49 54 2E 45 44 55 A3 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 A4 2E 30 2C A0 03 02 01 01 A1 25 04 23 45 44 55 2C 4D 49 54 2E 2C 41 54 48 45 4E 41 2E 2C 57 41 53 48 49 4E 47 54 4F 4E 2E 45 44 55 2C 43 53 2E 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 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 AA 24 30 22 30 0F A0 03 02 01 01 A1 08 04 06 66 6F 6F 62 61 72 30 0F A0 03 02 01 01 A1 08 04 06 66 6F 6F 62 61 72",decode_krb5_enc_tkt_part,ktest_equal_enc_tkt_part); - ref.times.starttime = 0; + /* ref.times.starttime = 0; */ + ref.times.starttime = ref.times.authtime; ref.times.renew_till = 0; ktest_destroy_address(&(ref.caddrs[1])); ktest_destroy_address(&(ref.caddrs[0])); -- 2.26.2