Simplify integer loading in ASN.1 encoding
authorGreg Hudson <ghudson@mit.edu>
Fri, 13 Jan 2012 17:35:30 +0000 (17:35 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 13 Jan 2012 17:35:30 +0000 (17:35 +0000)
commit1e5f9942e7bee50317434998f1b0690efa340a7f
tree2055da2f443ee5c9af397dc3331876f506d30db1
parentc3751ec386c0367b9c5024b2b91cdc5d11f6b8f8
Simplify integer loading in ASN.1 encoding

Instead of defining an auxiliary load function for each integer
type, just use its size and signedness to decide how to load it.

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