Set ASN1_OBJECT_FLAG_DYNAMIC_DATA flag with t2i_ASN1_OBJECT_internal
authorinoguchi <inoguchi@openbsd.org>
Sun, 10 Apr 2022 12:42:33 +0000 (12:42 +0000)
committerinoguchi <inoguchi@openbsd.org>
Sun, 10 Apr 2022 12:42:33 +0000 (12:42 +0000)
commite35036c02dc104bc61903d370b38b32356ee821d
tree50656d40192afd2dc1c8f07fb7b91eddb7a93d9f
parentf4647fb95a334a7e8a0c965874ba87aa11da0515
Set ASN1_OBJECT_FLAG_DYNAMIC_DATA flag with t2i_ASN1_OBJECT_internal

'flags' should have ASN1_OBJECT_FLAG_DYNAMIC_DATA bit to free 'data'
by ASN1_OBJECT_free as c2i_ASN1_OBJECT_cbs does.

ok jsing@ tb@
lib/libcrypto/asn1/a_object.c