Pull out generic array expansion code from array_append macro into a
authorKen Raeburn <raeburn@mit.edu>
Thu, 3 Apr 2008 18:00:38 +0000 (18:00 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 3 Apr 2008 18:00:38 +0000 (18:00 +0000)
commit5b120032479c3bd624a0b2f12c62490025fc1c1d
tree7b100902bb03fd3a77583ffeddd4153bb38b97cf
parent965be2b05dae5e08a39781696d221182ec3acb34
Pull out generic array expansion code from array_append macro into a
separate function.  Add some range checks, and don't bother separating
malloc vs realloc depending on previous pointer value.

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