Fix void pointer arithmetic in ASN.1 decoder
authorGreg Hudson <ghudson@mit.edu>
Tue, 14 Feb 2012 22:14:54 +0000 (22:14 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 14 Feb 2012 22:14:54 +0000 (22:14 +0000)
commit0c2e33717131f6beb43efd6e655e2cd7d8ce2dd5
tree4b351bb549e73c34d100edcdbfabc60f0222a875
parentd841647b267417bb6b4bbb1a4333f8a048f26ca3
Fix void pointer arithmetic in ASN.1 decoder

An expression in decode_sequence_of was incorrectly parenthesized,
resulting in addition to a void pointer.  Also avoid repeating the
expression.

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