asn1_k_encode.c (asn1_encode_principal_name): Be liberal about
authorTheodore Tso <tytso@mit.edu>
Fri, 15 Nov 1996 02:21:23 +0000 (02:21 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 15 Nov 1996 02:21:23 +0000 (02:21 +0000)
commitc3b7a18e411431c18505b3c03d931a11392d1054
treea6b7a7422d57b591847a43a0d286c80fc183c679
parent8853cd13e45237b4a3cdc8ac0764543a9d2a9a30
asn1_k_encode.c (asn1_encode_principal_name): Be liberal about
accepting a principal with a zero-length component where the data
pointer is NULL.  After all, asn1_decode_principal_name generates them
that way! [PR#188]

(asn1_encode_encrypted_data):
(asn1_encode_krb5_authdata_elt):
(asn1_encode_encryption_key):
(asn1_encode_checksum):
(asn1_encode_realm): If the length is zero, allow the data field to be NULL.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9418 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/asn1_k_encode.c