mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-10 07:49:54 +00:00
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.
This commit is contained in:
parent
be2774dd35
commit
30da7ad809
@ -168,6 +168,8 @@ const char *SSL_SOCK_KEYTYPE_NAMES[] = {
|
||||
"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)
|
||||
|
Loading…
Reference in New Issue
Block a user