Avoid special handling of definite length before calling asn1_find_end().
authorjsing <jsing@openbsd.org>
Wed, 4 May 2022 10:53:26 +0000 (10:53 +0000)
committerjsing <jsing@openbsd.org>
Wed, 4 May 2022 10:53:26 +0000 (10:53 +0000)
commit76ae1ec394038d75f36be1017901478adc57fc1e
tree195e07749f06ac9157639ffee330f1dfdcfde350
parentf3475de80b393766c5a81e8e2ef52ae94aafee82
Avoid special handling of definite length before calling asn1_find_end().

The asn1_find_end() function handles definite length ASN.1, which means
that there is no point in the only caller having code to explicitly handle
definite length - it can just call the function.

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