(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:
@@ -225,6 +225,12 @@ hx509_ci_print_names(hx509_context context, void *ctx, hx509_cert c)
|
|||||||
return 0;
|
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
|
int
|
||||||
hx509_certs_add(hx509_context context, hx509_certs certs, hx509_cert cert)
|
hx509_certs_add(hx509_context context, hx509_certs certs, hx509_cert cert)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user