commit | 84815006a0a00ab00f0371c43685f09f6b5df8d8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Apr 25 21:40:27 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 25 21:40:27 2014 +0200 |
tree | 3050a207b7ec26b2d04a3adbf588fcaa7b0534b4 | |
parent | 6c09c2ceae796d0f48ec2711a200114f8ba928dc [diff] |
BUILD: ssl: avoid a warning about conn not used with OpenSSL < 1.0.1 Building with a version of openssl without heartbeat gives this since latest 29f037d ("MEDIUM: ssl: explicitly log failed handshakes after a heartbeat") : src/ssl_sock.c: In function 'ssl_sock_msgcbk': src/ssl_sock.c:188: warning: unused variable 'conn' Simply declare conn inside the ifdef. No backport is needed.