Latest update.
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
=head1 NAME
|
||||
|
||||
SSL_extension_supported,
|
||||
SSL_custom_ext_add_cb_ex,
|
||||
SSL_custom_ext_free_cb_ex,
|
||||
SSL_custom_ext_parse_cb_ex,
|
||||
SSL_CTX_add_custom_ext,
|
||||
SSL_CTX_add_client_custom_ext, SSL_CTX_add_server_custom_ext,
|
||||
custom_ext_add_cb, custom_ext_free_cb, custom_ext_parse_cb
|
||||
@@ -12,24 +15,24 @@ custom_ext_add_cb, custom_ext_free_cb, custom_ext_parse_cb
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
typedef int (*SSL_custom_ext_add_cb_ex) (SSL *s, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
const unsigned char **out,
|
||||
size_t *outlen, X509 *x,
|
||||
size_t chainidx, int *al,
|
||||
void *add_arg);
|
||||
typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
const unsigned char **out,
|
||||
size_t *outlen, X509 *x,
|
||||
size_t chainidx, int *al,
|
||||
void *add_arg);
|
||||
|
||||
typedef void (*SSL_custom_ext_free_cb_ex) (SSL *s, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
const unsigned char *out,
|
||||
void *add_arg);
|
||||
typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
const unsigned char *out,
|
||||
void *add_arg);
|
||||
|
||||
typedef int (*SSL_custom_ext_parse_cb_ex) (SSL *s, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
const unsigned char *in,
|
||||
size_t inlen, X509 *x,
|
||||
size_t chainidx, int *al,
|
||||
void *parse_arg);
|
||||
typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
const unsigned char *in,
|
||||
size_t inlen, X509 *x,
|
||||
size_t chainidx, int *al,
|
||||
void *parse_arg);
|
||||
|
||||
int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
|
||||
unsigned int context,
|
||||
@@ -275,6 +278,10 @@ failure).
|
||||
SSL_extension_supported() returns 1 if the extension B<ext_type> is handled
|
||||
internally by OpenSSL and 0 otherwise.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<ssl(7)>
|
||||
|
||||
=head1 HISTORY
|
||||
|
||||
The SSL_CTX_add_custom_ext() function was added in OpenSSL 1.1.1.
|
||||
|
||||
Reference in New Issue
Block a user