From: Beat Bolli Date: Fri, 20 Jan 2017 19:04:25 +0000 (+0100) Subject: SSL_CTX_set_verify.pod: move a typedef in front of its first usage X-Git-Tag: OpenSSL_1_1_1-pre1~1365 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=89a01e692f41cd4f048e706547c61a38342df604;p=oweals%2Fopenssl.git 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) --- 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