From: Willy Tarreau Date: Mon, 26 Nov 2012 17:47:31 +0000 (+0100) Subject: BUILD: ssl: OpenSSL 0.9.6 has no renegociation X-Git-Tag: v1.5-dev15~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d588eed783aa9154e5fca3b4fa9fdcbaae93467;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/ssl_sock.c b/src/ssl_sock.c index f6c410f342..2892f8ffd7 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -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