* asn1_k_decode.c (asn1_decode_etype_info_entry): If the optional
authorTheodore Tso <tytso@mit.edu>
Thu, 9 Nov 1995 01:03:32 +0000 (01:03 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 9 Nov 1995 01:03:32 +0000 (01:03 +0000)
commite8d6f2d6df42a036824d1c93c98a0d6bbbb8d8c7
tree68edf6fa623ed83994258f6943a99cc71c127a00
parent072512723591c4d25f6c55165130b7eb8d9dc4c9
* asn1_k_decode.c (asn1_decode_etype_info_entry): If the optional
salt element is not present, set etype.length to -1.

* asn1_k_encode.c (asn1_encode_etype_info_entry): When encoding
the etype_info_entry structure, use length == -1 to mean
that the optional salt structure should not be sent.  (It
used to be if length == -1.)

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