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)
This commit is contained in:
parent
32c57705c9
commit
89a01e692f
1 changed files with 2 additions and 3 deletions
|
@ -12,6 +12,8 @@ SSL_verify_cb
|
||||||
|
|
||||||
#include <openssl/ssl.h>
|
#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_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);
|
void SSL_set_verify(SSL *s, int mode, SSL_verify_cb verify_callback);
|
||||||
SSL_get_ex_data_X509_STORE_CTX_idx(void);
|
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_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
|
||||||
void SSL_set_verify_depth(SSL *s, 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
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
SSL_CTX_set_verify() sets the verification flags for B<ctx> to be B<mode> and
|
SSL_CTX_set_verify() sets the verification flags for B<ctx> to be B<mode> and
|
||||||
|
|
Loading…
Reference in a new issue