hx509: _hx509_certs_keys_free() should not require gate

This commit is contained in:
Nicolas Williams
2019-08-05 11:29:27 -05:00
parent d13f89cb11
commit 63ccdca137

View File

@@ -809,7 +809,10 @@ HX509_LIB_FUNCTION void HX509_LIB_CALL
_hx509_certs_keys_free(hx509_context context,
hx509_private_key *keys)
{
int i;
size_t i;
if (keys == NULL)
return;
for (i = 0; keys[i]; i++)
hx509_private_key_free(&keys[i]);
free(keys);