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:
Willy Tarreau 2015-02-27 16:36:16 +01:00
parent 713a7566af
commit 622317d5e2

View File

@ -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) */