MINOR: ssl: SSL_CTX_set_options() and SSL_CTX_set_mode() take a long, not an int
authorRemi Gacogne <rgacogne[at]aquaray[dot]fr>
Mon, 19 May 2014 08:29:58 +0000 (10:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 09:20:23 +0000 (11:20 +0200)
commitaf5c3da89e408427b9dcfcfa47ae53eb9e797b1f
tree1ef2962a1b975c36a965258fbb8b542354d2b3d3
parent63af98d0dd83b4b173fe7c6c632f0583b7cec497
MINOR: ssl: SSL_CTX_set_options() and SSL_CTX_set_mode() take a long, not an int

This is a minor fix, but the SSL_CTX_set_options() and
SSL_CTX_set_mode() functions take a long, not an int parameter. As
SSL_OP_ALL is now (since OpenSSL 1.0.0) defined as 0x80000BFFL, I think
it is worth fixing.
src/ssl_sock.c