Remove handling of a NULL BUF_MEM from asn1_collect()
authorjsing <jsing@openbsd.org>
Thu, 9 Dec 2021 16:56:15 +0000 (16:56 +0000)
committerjsing <jsing@openbsd.org>
Thu, 9 Dec 2021 16:56:15 +0000 (16:56 +0000)
commitc6786ac7443f30f2c858583d40bac8aaea4a2c12
treea1fd5600cfb447fcd0baf4cf596e5a719a8ff346
parente85f2c975c3f300aec64d4390cb28a1124bfc1e4
Remove handling of a NULL BUF_MEM from asn1_collect()

asn1_collect() (and hence collect_data()) is never called without
a BUF_MEM - the only caller that passed NULL was removed in OpenSSL
commit e1cc0671ac5.

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