mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-10 16:00:08 +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"
|
"rsa"
|
||||||
};
|
};
|
||||||
#define SSL_SOCK_NUM_KEYTYPES 3
|
#define SSL_SOCK_NUM_KEYTYPES 3
|
||||||
|
#else
|
||||||
|
#define SSL_SOCK_NUM_KEYTYPES 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB && !defined OPENSSL_NO_OCSP)
|
#if (defined SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB && !defined OPENSSL_NO_OCSP)
|
||||||
|
Loading…
Reference in New Issue
Block a user