2nd length field in the ASN.1 was 2 bytes bigger than it should have
been.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10475
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 27 18:41:08 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * export_name.c (krb5_gss_export_name): Fix bug in
+ gss_export_name. The 2nd length field in the ASN.1 was 2
+ bytes bigger than it should have been.
+
Wed Feb 18 16:12:14 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
*cp++ = (gss_mech_krb5->length+2) >> 8;
*cp++ = (gss_mech_krb5->length+2) & 0xFF;
*cp++ = 0x06;
- *cp++ = (gss_mech_krb5->length+2) & 0xFF;
+ *cp++ = (gss_mech_krb5->length) & 0xFF;
memcpy(cp, gss_mech_krb5->elements, gss_mech_krb5->length);
cp += gss_mech_krb5->length;
*cp++ = length >> 24;