From 1eb85d5451248e4d18efc68e79eee66e5baac9dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 21 Oct 2006 20:21:51 +0000 Subject: [PATCH] (hx509_certs_add): add comment on refcounting. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18787 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/keyset.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/hx509/keyset.c b/lib/hx509/keyset.c index 15327cb8d..79a9beb0c 100644 --- a/lib/hx509/keyset.c +++ b/lib/hx509/keyset.c @@ -225,6 +225,12 @@ hx509_ci_print_names(hx509_context context, void *ctx, hx509_cert c) return 0; } +/* + * The receiving keyset `certsī will either increase reference counter + * of the `certī or make a deep copy, either way, the caller needs to + * free the `certī itself. + */ + int hx509_certs_add(hx509_context context, hx509_certs certs, hx509_cert cert) {