Change asn1_check_tag_cbs() out_len from long to size_t.
authorjsing <jsing@openbsd.org>
Wed, 4 May 2022 10:47:36 +0000 (10:47 +0000)
committerjsing <jsing@openbsd.org>
Wed, 4 May 2022 10:47:36 +0000 (10:47 +0000)
commitf3475de80b393766c5a81e8e2ef52ae94aafee82
treeff44b0dea6851045bbc06c5203abab8f34e57db4
parent354471be828da460e64df974486111e2ae538e85
Change asn1_check_tag_cbs() out_len from long to size_t.

The long vs size_t checks can be handled in the asn1_check_tag() wrapper
and this will help to avoid propagating long vs size_t issues into new
code.

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