Searched hist:bcad20308fbaad350ad0486d7cb36ae23b44a18b (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/tools/cert_create/src/ |
| H A D | ext.c | bcad20308fbaad350ad0486d7cb36ae23b44a18b Mon Jul 27 18:22:42 UTC 2020 Jimmy Brisson <jimmy.brisson@arm.com> Use preallocated parts of the HASH struct
When OpenSSL's macro allocates the HASH struct, it allocates the fields as well. After this allocation, the prior code would assign over the pointers inside the HASH struct, leaking these fields. This patch avoids allocating extra copies of these members.
Change-Id: I50a38b0a04b52ec54d6388db0f694feb578d2818 Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
|