Modify asn12krb5_buf and asn1_do_full_encode to make output parameter
authorGreg Hudson <ghudson@mit.edu>
Thu, 12 Feb 2009 18:21:33 +0000 (18:21 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 12 Feb 2009 18:21:33 +0000 (18:21 +0000)
commitbcffa165ee7841337bfbbab5043e7bddb5ef7fca
treeac81d854883525f28b2f9561e952d8870329a730
parenta325faadc86039d4e6ec876f49319251eb7afbc8
Modify asn12krb5_buf and asn1_do_full_encode to make output parameter
values well-defined on error.  Clean up memory handling and an unused
variable in asn1_do_full_encode.

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