lib/hx509: hx509_request_get_san handle strpool on error
commitc59dd0b36c15aa173af7795adba401c4076e4acc
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 17 Jan 2022 02:36:28 +0000 (16 21:36 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 17 Jan 2022 02:49:34 +0000 (16 21:49 -0500)
tree9728b3d07879b3b11594a70c84ea82a4c5c022d3
parent708d9b40420cef1342e1e83f1646963f7d944b9a
lib/hx509: hx509_request_get_san handle strpool on error

_hx509_unparse_utf8_string_name() and
_hx509_unparse_KRB5PrincipalName() can return a strpool even if
they fail.  The strpool must be passed through rk_strpoolcollect()
in order to return the contents to the caller of
hx509_request_get_san().

Change-Id: Ifda5620f4e9e00ca188aa138f692fccc12621ae8
lib/hx509/req.c