mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-22 09:03:33 +02:00
BUILD: ssl: introduce fine guard for OpenSSL specific SCTL functions
SCTL (signed certificate timestamp list) specified in RFC6962 was implemented in c74ce24cd22e8c683ba0e5353c0762f8616e597d, let us introduce macro HAVE_SSL_SCTL for the HAVE_SSL_SCTL sake, which in turn is based on SN_ct_cert_scts, which comes in the same commit
This commit is contained in:
committed by
William Lallemand
parent
019dbd7884
commit
c47d676bd7
@@ -57,6 +57,10 @@
|
||||
#define HAVE_SSL_CTX_get0_privatekey
|
||||
#endif
|
||||
|
||||
#if (defined(SN_ct_cert_scts) && !defined(OPENSSL_NO_TLSEXT))
|
||||
#define HAVE_SSL_SCTL
|
||||
#endif
|
||||
|
||||
#if (HA_OPENSSL_VERSION_NUMBER < 0x0090800fL)
|
||||
/* Functions present in OpenSSL 0.9.8, older not tested */
|
||||
static inline const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *sess, unsigned int *sid_length)
|
||||
|
||||
Reference in New Issue
Block a user