diff options
author | Rob Percival <robpercival@google.com> | 2016-08-23 17:27:35 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-23 20:23:28 +0100 |
commit | 63e27d4d0f3ff698013dd8f5c5b71f923366c288 (patch) | |
tree | 1e34043c774c0d98dcb5ed5d7c596c6902f13d8f /include | |
parent | 986dbbbeffb0f998aa1e9aa80d24ddb4d10d0f73 (diff) |
Removes {i2o,o2i}_SCT_signature from the CT public API
They may return if an SCT_signature struct is added in the future that
allows them to be refactored to conform to the i2d/d2i function signature
conventions.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ct.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/openssl/ct.h b/include/openssl/ct.h index a0314f01e4..70a058695d 100644 --- a/include/openssl/ct.h +++ b/include/openssl/ct.h @@ -378,25 +378,6 @@ __owur int i2o_SCT(const SCT *sct, unsigned char **out); */ SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len); -/* -* Serialize (to TLS format) an |sct| signature and write it to |out|. -* If |out| is null, no signature will be output but the length will be returned. -* If |out| points to a null pointer, a string will be allocated to hold the -* TLS-format signature. It is the responsibility of the caller to free it. -* If |out| points to an allocated string, the signature will be written to it. -* The length of the signature in TLS format will be returned. -*/ -__owur int i2o_SCT_signature(const SCT *sct, unsigned char **out); - -/* -* Parses an SCT signature in TLS format and populates the |sct| with it. -* |in| should be a pointer to a string containing the TLS-format signature. -* |in| will be advanced to the end of the signature if parsing succeeds. -* |len| should be the length of the signature in |in|. -* Returns the number of bytes parsed, or a negative integer if an error occurs. -*/ -__owur int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len); - /******************** * CT log functions * ********************/ |