krb5_pa_data structure can be NULL (e.g.
salt_type==KRB5_KDB_SALTTYPE_V4), and the encoder was treating
this as a missing required field
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3962
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Jul 9 00:26:48 1994 Tom Yu (tlyu at dragons-lair)
+
+ * asn1_encode_k.c (asn1_encode_pa_data): the contents field of a
+ krb5_pa_data structure can be NULL (e.g.
+ salt_type==KRB5_KDB_SALTTYPE_V4), and the encoder was treating
+ this as a missing required field
+
Fri Jul 8 17:32:29 1994 Tom Yu (tlyu at dragons-lair)
* asn1_decode_k.c: yet another instance of the SunOS realloc bug
{
asn1_setup();
- if(val == NULL || val->contents == NULL) return ASN1_MISSING_FIELD;
+ if(val == NULL) return ASN1_MISSING_FIELD;
asn1_addlenfield(val->length,val->contents,2,asn1_encode_octetstring);
asn1_addfield(val->pa_type,1,asn1_encode_integer);