BUG/MINOR: ssl: Memory leak of AUTHORITY_KEYID struct when loading issuer

When calling ssl_get0_issuer_chain, if akid is not NULL but its keyid
is, then the AUTHORITY_KEYID is not freed.

This patch can be backported to all stable branches.

(cherry picked from commit 1621dc1cc59cf99c8d5e02c0f300f1cd743cafa1)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d842a5a47d2e1b4f10b57bf8f847e2b85cac71b1)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d297d0c8f5b76f7156c6f8a756363a0c4443a663)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed