Add support for CHOICE in ASN.1 encoder
authorGreg Hudson <ghudson@mit.edu>
Fri, 6 Jan 2012 21:13:59 +0000 (21:13 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 6 Jan 2012 21:13:59 +0000 (21:13 +0000)
commitb5143ff810a937e12491ba678575c09948d78300
treeb59920c5f3687cd1c70186f001e930d39045c1e5
parentfff0545bfbe58930c71c4ccb280447d0d335d499
Add support for CHOICE in ASN.1 encoder

Add a new field type where the length offset indicates a distinguisher
and the data offset indicates a union address.  The field's type is an
atype_choice containing a seq_info indexed by the distinguisher.

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