mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
BUILD/CLEANUP: ssl: avoid a warning due to mixed code and declaration
Actually it was caused by some dummy code meant to shut gcc up for an unused argument!
This commit is contained in:
parent
713a7566af
commit
622317d5e2
@ -599,8 +599,8 @@ out:
|
||||
void ssl_sock_infocbk(const SSL *ssl, int where, int ret)
|
||||
{
|
||||
struct connection *conn = (struct connection *)SSL_get_app_data(ssl);
|
||||
(void)ret; /* shut gcc stupid warning */
|
||||
BIO *write_bio;
|
||||
(void)ret; /* shut gcc stupid warning */
|
||||
|
||||
if (where & SSL_CB_HANDSHAKE_START) {
|
||||
/* Disable renegotiation (CVE-2009-3555) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user