mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
MINOR: ssl: Remove ClientHello specific traces if !HAVE_SSL_CLIENT_HELLO_CB
SSL libraries like wolfSSL that don't have the clienthello callback mechanism enabled do not need to have the traces that are only called from the said callback. The code added to parse the ciphers relied on a function that wes not defined in wolfSSL (SSL_CIPHER_find).
This commit is contained in:
parent
665b7d4fa9
commit
7fd849f4e0
@ -215,6 +215,8 @@ static void ssl_trace(enum trace_level level, uint64_t mask, const struct trace_
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_SSL_CLIENT_HELLO_CB
|
||||
|
||||
if (mask & SSL_EV_CONN_SIGALG_EXT && src->verbosity >= SSL_VERB_ADVANCED) {
|
||||
if (a2 && a3) {
|
||||
const uint16_t *extension_data = a2;
|
||||
@ -306,5 +308,6 @@ static void ssl_trace(enum trace_level level, uint64_t mask, const struct trace_
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_SSL_CLIENT_HELLO_CB */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user