BUILD: ssl: OpenSSL 0.9.6 has no renegociation

It did not build anymore on 0.9.6. Not very important but better fix it.
This commit is contained in:
Willy Tarreau 2012-11-26 18:47:31 +01:00
parent 786991e8b7
commit 7d588eed78

View File

@ -467,6 +467,7 @@ int ssl_sock_load_cert(char *path, struct bind_conf *bind_conf, struct proxy *cu
#ifndef SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION /* needs OpenSSL >= 0.9.7 */
#define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION 0
#define SSL_renegotiate_pending(arg) 0
#endif
#ifndef SSL_OP_SINGLE_ECDH_USE /* needs OpenSSL >= 0.9.8 */
#define SSL_OP_SINGLE_ECDH_USE 0