commit | 30da7ad8094f1bb9968f0eac75ed4aa3d2d1d500 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 14 11:28:33 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 14 11:28:33 2015 +0100 |
tree | ebd3d125690bdc23387b8033dcc4f74abfb4ebac | |
parent | be2774dd354c2b6c26bab07275f8c76557376389 [diff] |
BUILD: ssl: set SSL_SOCK_NUM_KEYTYPES with openssl < 1.0.2 Last patch unfortunately broke build with openssl older than 1.0.2. Let's just define a single key type in this case.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 31af6f9..5200069 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c
@@ -168,6 +168,8 @@ "rsa" }; #define SSL_SOCK_NUM_KEYTYPES 3 +#else +#define SSL_SOCK_NUM_KEYTYPES 1 #endif #if (defined SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB && !defined OPENSSL_NO_OCSP)