Inline collect_data() in asn1_collect().
authorjsing <jsing@openbsd.org>
Thu, 9 Dec 2021 17:01:41 +0000 (17:01 +0000)
committerjsing <jsing@openbsd.org>
Thu, 9 Dec 2021 17:01:41 +0000 (17:01 +0000)
commitddfbdb55fc8b048e180ba05fe1da3af7e72bb4de
tree6ca19d4db5c6304a05903b98c0c80b03e7248147
parentae999721e61884874a36567bf83e4037e204d7c9
Inline collect_data() in asn1_collect().

While here stop assigning a size_t to an int without bounds checks.

ok inoguchi@ tb@
lib/libcrypto/asn1/tasn_dec.c