(hx509_certs_add): add comment on refcounting.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18787 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-21 20:21:51 +00:00
parent df5da7edfe
commit 1eb85d5451

View File

@@ -225,6 +225,12 @@ hx509_ci_print_names(hx509_context context, void *ctx, hx509_cert c)
return 0;
}
/*
* The receiving keyset `certs<74> will either increase reference counter
* of the `cert<72> or make a deep copy, either way, the caller needs to
* free the `cert<72> itself.
*/
int
hx509_certs_add(hx509_context context, hx509_certs certs, hx509_cert cert)
{