svn rev #25802: trunk/src/lib/krb5/asn.1/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Apr 5 09:57:37 EDT 2012


http://src.mit.edu/fisheye/changelog/krb5/?cs=25802
Commit By: ghudson
Log Message:
ticket: 7111

Fix app tag choices for decoding EncASRepPart

When decoding an AS-REP enc part, we should accept app tags 26 (the
bogus one we generate) and 25 (the correct value).  We were accepting
26 and 24.  Bug report and fix by stefw at gnome.org.


Changed Files:
U   trunk/src/lib/krb5/asn.1/asn1_k_encode.c
Modified: trunk/src/lib/krb5/asn.1/asn1_k_encode.c
===================================================================
--- trunk/src/lib/krb5/asn.1/asn1_k_encode.c	2012-04-04 21:38:57 UTC (rev 25801)
+++ trunk/src/lib/krb5/asn.1/asn1_k_encode.c	2012-04-05 13:57:37 UTC (rev 25802)
@@ -723,7 +723,7 @@
 DEFSEQTYPE(untagged_enc_tkt_part, krb5_enc_tkt_part, enc_tkt_part_fields);
 DEFAPPTAGGEDTYPE(enc_tkt_part, 3, untagged_enc_tkt_part);
 
-DEFAPPTAGGEDTYPE(enc_as_rep_part, 24, enc_kdc_rep_part);
+DEFAPPTAGGEDTYPE(enc_as_rep_part, 25, enc_kdc_rep_part);
 DEFAPPTAGGEDTYPE(enc_tgs_rep_part, 26, enc_kdc_rep_part);
 
 DEFCTAGGEDTYPE(kdc_rep_0, 0, krb5_version);



More information about the cvs-krb5 mailing list