Skip to content

Commit

Permalink
Removes {o2i,i2o}_SCT_signature from PODs
Browse files Browse the repository at this point in the history
These functions have been removed from the public API.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
  • Loading branch information
Rob Percival authored and mattcaswell committed Aug 24, 2016
1 parent 5edcadb commit 76bfd2c
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions doc/crypto/o2i_SCT_LIST.pod
Expand Up @@ -2,7 +2,7 @@

=head1 NAME

o2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT, o2i_SCT_signature, i2o_SCT_signature -
o2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT -
decode and encode Signed Certificate Timestamp lists in TLS wire format

=head1 SYNOPSIS
Expand All @@ -13,8 +13,6 @@ decode and encode Signed Certificate Timestamp lists in TLS wire format
int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp);
SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len);
int i2o_SCT(const SCT *sct, unsigned char **out);
int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len);
int i2o_SCT_signature(const SCT *sct, unsigned char **out);

=head1 DESCRIPTION

Expand All @@ -23,21 +21,10 @@ functions, except that they convert to and from TLS wire format, as described in
RFC 6962. See L<d2i_SCT_LIST> for more information about how the parameters are
treated and the return values.

The SCT_signature functions are less similar. They still convert to and from
TLS wire format, but they require that an SCT is provided that the signature is
either taken from or inserted into.

=head1 NOTES

If an error occurs during a call to o2i_SCT_signature, the SCT may have its
signature NID updated but not the signature value.

=head1 RETURN VALUES

All of the functions have return values consist with those stated for
L<d2i_SCT_LIST>, except o2i_SCT_signature. The o2i_SCT_signature function
returns the number of bytes that were parsed, or a negative integer if an error
occurs.
L<d2i_SCT_LIST> and L<i2d_SCT_LIST>.

=head1 SEE ALSO

Expand Down

0 comments on commit 76bfd2c

Please sign in to comment.