summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-08-01 20:08:11 +0100
committerMatt Caswell <matt@openssl.org>2016-08-24 13:58:19 +0100
commitb4a986163cca7cf3abc30f178ce6c61ad79e3002 (patch)
treeb751eccd24ec3b379650f2b91a1b42da0c79d825 /include
parentefa00a46c5cac115654a4e00b8e2ec3533ebe739 (diff)
Add comment about calling CT_POLICY_EVAL_CTX_free
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ct.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/openssl/ct.h b/include/openssl/ct.h
index 6cedb693c0..2a67731520 100644
--- a/include/openssl/ct.h
+++ b/include/openssl/ct.h
@@ -61,7 +61,11 @@ DEFINE_STACK_OF(CTLOG)
* CT policy evaluation context functions *
******************************************/
-/* Creates a new, empty policy evaluation context */
+/*
+ * Creates a new, empty policy evaluation context.
+ * The caller is responsible for calling CT_POLICY_EVAL_CTX_free when finished
+ * with the CT_POLICY_EVAL_CTX.
+ */
CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void);
/* Deletes a policy evaluation context and anything it owns. */