]> granicus.if.org Git - openssl/commit
ASN.1: extend the possibilities to embed data instead of pointers
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 09:48:12 +0000 (11:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 13 Apr 2017 08:23:31 +0000 (10:23 +0200)
commit49005bb8b3e134d5c8c5c8fc87aecb74d1437286
treecc82c8245ba3381b01c4b2bb7b94bd9cd0ae5a8c
parent8edefd7bb323f84abfbc381e4ba13c02925673b9
ASN.1: extend the possibilities to embed data instead of pointers

Also, when "allocating" or "deallocating" an embedded item, never call
prim_new() or prim_free().  Call prim_clear() instead.

Fixes #3191

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3199)
crypto/asn1/tasn_fre.c
crypto/asn1/tasn_new.c
include/openssl/asn1t.h