diff options
author | Beat Bolli <dev@drbeat.li> | 2017-01-20 20:04:25 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-06-08 11:54:16 +0100 |
commit | 89a01e692f41cd4f048e706547c61a38342df604 (patch) | |
tree | 75bf98ebf2e532db1496bcc2d7b837dee61486c9 /doc | |
parent | 32c57705c9299db5344f9f2d1bb28edfb5d6a76d (diff) |
SSL_CTX_set_verify.pod: move a typedef in front of its first usage
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1956)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/SSL_CTX_set_verify.pod | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/man3/SSL_CTX_set_verify.pod b/doc/man3/SSL_CTX_set_verify.pod index 53615b5281..9e634dd91d 100644 --- a/doc/man3/SSL_CTX_set_verify.pod +++ b/doc/man3/SSL_CTX_set_verify.pod @@ -12,6 +12,8 @@ SSL_verify_cb #include <openssl/ssl.h> + typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx); + void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, SSL_verify_cb verify_callback); void SSL_set_verify(SSL *s, int mode, SSL_verify_cb verify_callback); SSL_get_ex_data_X509_STORE_CTX_idx(void); @@ -19,9 +21,6 @@ SSL_verify_cb void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth); void SSL_set_verify_depth(SSL *s, int depth); - - typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx); - =head1 DESCRIPTION SSL_CTX_set_verify() sets the verification flags for B<ctx> to be B<mode> and |