Rewrite tagnum-checking code to streamline normal path and push refined
authorKen Raeburn <raeburn@mit.edu>
Thu, 7 Aug 2008 00:13:58 +0000 (00:13 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 7 Aug 2008 00:13:58 +0000 (00:13 +0000)
commitaabbe4fe034c2dd69b372e4cf4394c7fb4367dd3
tree89f55a55f03d047c12f9ae618901bd8857bf5877
parentaefad499048b709e81c5550ea49cf6a91c2bdde3
Rewrite tagnum-checking code to streamline normal path and push refined
error code selection into error path.

Don't expand asn1buf_insert_octet inline or define asn1buf_ensure_space
macro if CONFIG_SMALL.

Remove some null-before-free checks.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20626 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/asn1_k_decode.c
src/lib/krb5/asn.1/asn1buf.c
src/lib/krb5/asn.1/asn1buf.h
src/lib/krb5/asn.1/krb5_decode.c
src/lib/krb5/asn.1/ldap_key_seq.c