DCE compatibility.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6088
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Jun 17 00:00:33 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * asn1_get.c (asn1_get_tag): Added change to allow for
+ ASN.1 indefinite encoding; needed for DCE compatibility.
+
Fri Jun 9 19:34:05 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
*tagnum = ASN1_TAGNUM_CEILING;
return 0;
}
+ /* Allow for the indefinite encoding */
+ if ( !*(buf->next) && !*(buf->next + 1)) {
+ buf->next += 2;
+ *tagnum = ASN1_TAGNUM_CEILING;
+ return 0;
+ }
retval = asn1_get_id(buf,class,construction,tagnum);
if(retval) return retval;
retval = asn1_get_length(buf,retlen);