Fix invalid function type casts.
Rename bio_info_cb to BIO_info_cb. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4493)
This commit is contained in:
parent
d016d1ec34
commit
fce78bd4ed
25 changed files with 142 additions and 93 deletions
18
ssl/s3_lib.c
18
ssl/s3_lib.c
|
@ -3246,6 +3246,20 @@ void ssl_sort_cipher_list(void)
|
|||
qsort(ssl3_scsvs, SSL3_NUM_SCSVS, sizeof(ssl3_scsvs[0]), cipher_compare);
|
||||
}
|
||||
|
||||
static int ssl_undefined_function_1(SSL *ssl, unsigned char *r, size_t s,
|
||||
const char * t, size_t u,
|
||||
const unsigned char * v, size_t w, int x)
|
||||
{
|
||||
(void)r;
|
||||
(void)s;
|
||||
(void)t;
|
||||
(void)u;
|
||||
(void)v;
|
||||
(void)w;
|
||||
(void)x;
|
||||
return ssl_undefined_function(ssl);
|
||||
}
|
||||
|
||||
const SSL3_ENC_METHOD SSLv3_enc_data = {
|
||||
ssl3_enc,
|
||||
n_ssl3_mac,
|
||||
|
@ -3256,9 +3270,7 @@ const SSL3_ENC_METHOD SSLv3_enc_data = {
|
|||
SSL3_MD_CLIENT_FINISHED_CONST, 4,
|
||||
SSL3_MD_SERVER_FINISHED_CONST, 4,
|
||||
ssl3_alert_code,
|
||||
(int (*)(SSL *, unsigned char *, size_t, const char *,
|
||||
size_t, const unsigned char *, size_t,
|
||||
int use_context))ssl_undefined_function,
|
||||
ssl_undefined_function_1,
|
||||
0,
|
||||
ssl3_set_handshake_header,
|
||||
tls_close_construct_packet,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue