]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: ssl: OpenSSL 0.9.6 has no renegociation
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 17:47:31 +0000 (18:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 17:47:31 +0000 (18:47 +0100)
It did not build anymore on 0.9.6. Not very important but better fix it.

src/ssl_sock.c

index f6c410f342ebe46391f6a92376bd688380c3dd01..2892f8ffd7f2745ef3c86db60de2dfd070d79558 100644 (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