summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-04 20:37:28 +0000
committerRich Salz <rsalz@openssl.org>2016-03-09 11:34:48 -0500
commit8fbb93d0e24da283a21bb48c4361e20a17bba955 (patch)
tree08e16e3cab7358ed92b7089063e7a9487df834e5 /include
parentaeb5b95576025d651c4941e7a5c157351094de84 (diff)
Makes SCT_LIST_set_source return the number of successes
No longer terminates on first error, but instead tries to set the source of every SCT regardless of whether an error occurs with some. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ct.h b/include/openssl/ct.h
index 6d2182f796..7a19053018 100644
--- a/include/openssl/ct.h
+++ b/include/openssl/ct.h
@@ -305,7 +305,7 @@ int SCT_set_source(SCT *sct, sct_source_t source);
/*
* Sets the source of all of the SCTs to the same value.
- * Returns 1 on success.
+ * Returns the number of SCTs whose source was set successfully.
*/
int SCT_LIST_set_source(const STACK_OF(SCT) *scts, sct_source_t source);