diff options
author | Rob Percival <robpercival@google.com> | 2016-10-19 15:42:05 +0100 |
---|---|---|
committer | Rob Percival <robpercival@google.com> | 2016-11-16 13:54:17 +0000 |
commit | e1940e9f7a73bf3a560fbe3550a9b69a612118ec (patch) | |
tree | c12ceb27469f52c8b408aad79f990acc2e886d78 /crypto/ct/ct_sct.c | |
parent | 765731a88899771989a53c72259cacd1c658bb3f (diff) |
Move SCT_LIST_free definition into a more logical place
This reflects its position in include/openssl/ct.h.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1548)
Diffstat (limited to 'crypto/ct/ct_sct.c')
-rw-r--r-- | crypto/ct/ct_sct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ct/ct_sct.c b/crypto/ct/ct_sct.c index 1b13d9e6cb..1dc16857ba 100644 --- a/crypto/ct/ct_sct.c +++ b/crypto/ct/ct_sct.c @@ -45,6 +45,11 @@ void SCT_free(SCT *sct) OPENSSL_free(sct); } +void SCT_LIST_free(STACK_OF(SCT) *a) +{ + sk_SCT_pop_free(a, SCT_free); +} + int SCT_set_version(SCT *sct, sct_version_t version) { if (version != SCT_VERSION_V1) { |