arm-trusted-firmware/tools/cert_create
Jimmy Brisson bea8019826 Free X509_EXTENSIONs
Previously, we would leak these extensions as they are not freed by the
stack. An except from the `sk_TYPE_free` documentation:

    sk_TYPE_free() frees up the sk structure. It does not free up any
    elements of sk. After this call sk is no longer valid.

The fix is to drain the stack and free its elements before freeing the
stack. sk_TYPE_pop_free does this, so we use that instead.

Change-Id: Ie70c302f9dda5af1a7243f163d36e99916ee639c
Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
2020-10-20 20:17:25 +00:00
..
include cert_create: add Platform owned secure partitions support 2020-08-12 14:30:18 +01:00
src Free X509_EXTENSIONs 2020-10-20 20:17:25 +00:00
Makefile tools: Set the tool's default binary name 2020-09-07 12:58:24 +01:00