diff options
author | Rob Percival <robpercival@google.com> | 2016-10-19 15:42:05 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-11-16 16:28:08 -0500 |
commit | 56518d82372048825f068de32dfca77c32be1bc0 (patch) | |
tree | d2f27c33e8fa7e77c6bc21b40f78e28467f94018 /crypto/ct | |
parent | 0140f9d98b31142c81dc1cc35aa153682c1a313a (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)
(cherry picked from commit e1940e9f7a73bf3a560fbe3550a9b69a612118ec)
Diffstat (limited to 'crypto/ct')
-rw-r--r-- | crypto/ct/ct_oct.c | 5 | ||||
-rw-r--r-- | crypto/ct/ct_sct.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crypto/ct/ct_oct.c b/crypto/ct/ct_oct.c index cacc3bd2b4..d3edd39f5d 100644 --- a/crypto/ct/ct_oct.c +++ b/crypto/ct/ct_oct.c @@ -254,11 +254,6 @@ err: return -1; } -void SCT_LIST_free(STACK_OF(SCT) *a) -{ - sk_SCT_pop_free(a, SCT_free); -} - STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, size_t len) { diff --git a/crypto/ct/ct_sct.c b/crypto/ct/ct_sct.c index 92cee8d587..cd2cf60967 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) { |