+2001-06-12 Ezra Peisach <epeisach@mit.edu>
+
+ * asn1_k_decode.c (asn1_decode_predicted_sam_response): Use
+ asn1_decode_charstring() instead of asn1_decode_octetstring() to
+ decode krb5_data.
+
2000-10-26 Tom Yu <tlyu@mit.edu>
* asn1buf.c (asn1buf_sync): Add new arguments to include the full
asn1_tagnum tagnum;\
unsigned int length,taglen
-#define unused_var(x) if(0) x=0
+#define unused_var(x) if(0) {x=0; x=x-x;}
#define next_tag()\
retval = asn1_get_tag_indef(&subbuf,&class,&construction,\
alloc_field(val->client,krb5_principal_data);
get_field(val->client,4,asn1_decode_realm);
get_field(val->client,5,asn1_decode_principal_name);
- opt_string(val->msd,6,asn1_decode_octetstring);
+ opt_string(val->msd,6,asn1_decode_charstring); /* should be octet */
end_structure();
val->magic = KV5M_PREDICTED_SAM_RESPONSE;
}