mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue