mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
MINOR: quic: Fix build with USE_QUIC_OPENSSL_COMPAT
Commit fa094d0b61 changed the msg callback
args, but forgot to fix quic_tls_msg_callback() accordingly, so do that,
and remove the unused struct connection paramter.
This commit is contained in:
parent
abc1947e19
commit
f26562bcb7
2 changed files with 2 additions and 4 deletions
|
|
@ -20,8 +20,7 @@
|
|||
#define QUIC_OPENSSL_COMPAT_CLIENT_APPLICATION "CLIENT_TRAFFIC_SECRET_0"
|
||||
#define QUIC_OPENSSL_COMPAT_SERVER_APPLICATION "SERVER_TRAFFIC_SECRET_0"
|
||||
|
||||
void quic_tls_compat_msg_callback(struct connection *conn,
|
||||
int write_p, int version, int content_type,
|
||||
void quic_tls_compat_msg_callback(int write_p, int version, int content_type,
|
||||
const void *buf, size_t len, SSL *ssl);
|
||||
int quic_tls_compat_init(struct bind_conf *bind_conf, SSL_CTX *ctx);
|
||||
void quic_tls_compat_keylog_callback(const SSL *ssl, const char *line);
|
||||
|
|
|
|||
|
|
@ -359,8 +359,7 @@ leave:
|
|||
}
|
||||
|
||||
/* Callback use to parse TLS messages for <ssl> TLS session. */
|
||||
void quic_tls_compat_msg_callback(struct connection *conn,
|
||||
int write_p, int version, int content_type,
|
||||
void quic_tls_compat_msg_callback(int write_p, int version, int content_type,
|
||||
const void *buf, size_t len, SSL *ssl)
|
||||
{
|
||||
unsigned int alert;
|
||||
|
|
|
|||
Loading…
Reference in a new issue