From 89a01e692f41cd4f048e706547c61a38342df604 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Fri, 20 Jan 2017 20:04:25 +0100 Subject: [PATCH] SSL_CTX_set_verify.pod: move a typedef in front of its first usage Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/1956) --- doc/man3/SSL_CTX_set_verify.pod | 5 ++--- 1 file 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 + 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 to be B and -- 2.25.1