summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-10 18:21:40 +0000
committerRich Salz <rsalz@openssl.org>2016-03-10 14:53:04 -0500
commit49e5db0b313c36c59a943750d9192310ad7f5cf8 (patch)
tree1a445a7ad10168773bd5af97728f289d01d9d959 /include
parent8359b57f27bbc320c3c08035917d829b303ea850 (diff)
check reviewer --reviewer=emilia
Pass entire CTLOG_STORE to SCT_print, rather than just the SCT's CTLOG SCT_print now looks up the correct CT log for you. Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ct.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/openssl/ct.h b/include/openssl/ct.h
index 553f82fa2f..5e56fb7038 100644
--- a/include/openssl/ct.h
+++ b/include/openssl/ct.h
@@ -302,11 +302,10 @@ __owur int SCT_set_source(SCT *sct, sct_source_t source);
/*
* Pretty-prints an |sct| to |out|.
* It will be indented by the number of spaces specified by |indent|.
- * If |log| is not NULL:
- * - it should be the CT log that the SCT came from.
- * - its name will be printed.
+ * If |logs| is not NULL, it will be used to lookup the CT log that the SCT came
+ * from, so that the log name can be printed.
*/
-void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG *log);
+void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs);
/*
* Pretty-prints an |sct_list| to |out|.