diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-24 10:42:23 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-10-01 09:25:20 +0100 |
commit | d8652be06e2778e8898453a391deb7253e1a35a2 (patch) | |
tree | fe40e22edb39642aa7ae633320c1900388f2e7ee /doc/man3/CTLOG_new.pod | |
parent | aedac96c1172ca9a9efe72e027e935504b599e2f (diff) | |
download | openssl-d8652be06e2778e8898453a391deb7253e1a35a2.tar.gz |
Run the withlibctx.pl script
Automatically rename all instances of _with_libctx() to _ex() as per
our coding style.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12970)
Diffstat (limited to 'doc/man3/CTLOG_new.pod')
-rw-r--r-- | doc/man3/CTLOG_new.pod | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man3/CTLOG_new.pod b/doc/man3/CTLOG_new.pod index 4bb1a1b646..227929c5b3 100644 --- a/doc/man3/CTLOG_new.pod +++ b/doc/man3/CTLOG_new.pod @@ -2,8 +2,8 @@ =head1 NAME -CTLOG_new_with_libctx, CTLOG_new, CTLOG_new_from_base64, -CTLOG_new_from_base64_with_libctx, CTLOG_free, +CTLOG_new_ex, CTLOG_new, CTLOG_new_from_base64, +CTLOG_new_from_base64_ex, CTLOG_free, CTLOG_get0_name, CTLOG_get0_log_id, CTLOG_get0_public_key - encapsulates information about a Certificate Transparency log @@ -11,13 +11,13 @@ encapsulates information about a Certificate Transparency log #include <openssl/ct.h> - CTLOG *CTLOG_new_with_libctx(EVP_PKEY *public_key, const char *name, - OPENSSL_CTX *libctx, const char *propq); + CTLOG *CTLOG_new_ex(EVP_PKEY *public_key, const char *name, + OPENSSL_CTX *libctx, const char *propq); CTLOG *CTLOG_new(EVP_PKEY *public_key, const char *name); - int CTLOG_new_from_base64_with_libctx(CTLOG **ct_log, const char *pkey_base64, - const char *name, OPENSSL_CTX *libctx, - const char *propq); + int CTLOG_new_from_base64_ex(CTLOG **ct_log, const char *pkey_base64, + const char *name, OPENSSL_CTX *libctx, + const char *propq); int CTLOG_new_from_base64(CTLOG ** ct_log, const char *pkey_base64, const char *name); void CTLOG_free(CTLOG *log); @@ -28,23 +28,23 @@ encapsulates information about a Certificate Transparency log =head1 DESCRIPTION -CTLOG_new_with_libctx() returns a new CTLOG that represents the Certificate +CTLOG_new_ex() returns a new CTLOG that represents the Certificate Transparency (CT) log with the given public key and associates it with the library context I<libctx> and property query string I<propq>. A name must also be provided that can be used to help users identify this log. Ownership of the public key is transferred. -CTLOG_new() does the same thing as CTLOG_new_with_libctx() but with the default +CTLOG_new() does the same thing as CTLOG_new_ex() but with the default library context and the default property query string. -CTLOG_new_from_base64_with_libctx() also creates a new CTLOG, but takes the +CTLOG_new_from_base64_ex() also creates a new CTLOG, but takes the public key in base64-encoded DER form and sets the ct_log pointer to point to the new CTLOG. The base64 will be decoded and the public key parsed. The CTLOG will be associated with the given library context I<libctx> and property query string I<propq>. CTLOG_new_from_base64() does the same thing as -CTLOG_new_from_base64_with_libctx() except that the default library context and +CTLOG_new_from_base64_ex() except that the default library context and property query string are used. Regardless of whether CTLOG_new() or CTLOG_new_from_base64() is used, it is the @@ -75,7 +75,7 @@ L<ct(7)> =head1 HISTORY -The functions CTLOG_new_with_libctx() and CTLOG_new_from_base64_with_libctx() +The functions CTLOG_new_with_libctx() and CTLOG_new_from_base64_ex() were added in OpenSSL 3.0. All other functions were added in OpenSSL 1.1.0. =head1 COPYRIGHT |