summaryrefslogtreecommitdiffstats
path: root/src/plugins/locate/python
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-01-06 21:08:54 +0000
committerGreg Hudson <ghudson@mit.edu>2012-01-06 21:08:54 +0000
commit0a1bfb5cfc4ebcf879ddc38dbe4b764ab1549c5b (patch)
tree7bb1b31094f0b5fe974248e2f4879d1c3b496eb2 /src/plugins/locate/python
parent158156c569e9adee58564d12b436197b4c1307bf (diff)
downloadkrb5-0a1bfb5cfc4ebcf879ddc38dbe4b764ab1549c5b.tar.gz
krb5-0a1bfb5cfc4ebcf879ddc38dbe4b764ab1549c5b.tar.xz
krb5-0a1bfb5cfc4ebcf879ddc38dbe4b764ab1549c5b.zip
Support implicit context tags in ASN.1 fields
Add a field_info bit (the 32nd bit of the bitfields) indicating whether the context tag is implicit, and support it in encode_a_field. Adjust all field-generating macros and invocations to include the new bit (always 0 for the moment). For atype_tagged_thing, narrow the construction field to six bits and add an implicit bit. We could remove the construction field if it weren't for DEFOCTETWRAPPEDTYPE abusing atype_tagged_thing a little bit, since (normal) explicit tags are always constructed and implicit tag construction is computed from the base type. Given how rarely implicit tagging is used, it might be nice to have separate _IMPLICIT macros rather than an extra argument to every field. But we already have separate _OPT macros for optional fields and FIELDOF_STRING vs. FIELDOF_STRINGL, so we start to get a combinatoric explosion in the number of macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25614 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/locate/python')
0 files changed, 0 insertions, 0 deletions