mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-03 10:01:27 +00:00
BUILD: ssl: fix OPENSSL_NO_SSL_TRACE for boringssl and libressl
"sample-fetch which captures the cipherlist" patch introduce #define do deal with trace functions only available in openssl > 1.0.2. Add this #define to libressl and boringssl environment. Thanks to Piotr Kubaj for postponing and testing with libressl.
This commit is contained in:
parent
a52bb15cc7
commit
9490cedb4e
@ -152,6 +152,11 @@ static inline X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x)
|
||||
#define __OPENSSL_110_CONST__
|
||||
#endif
|
||||
|
||||
#if defined(OPENSSL_IS_BORINGSSL) || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#undef OPENSSL_NO_SSL_TRACE
|
||||
#define OPENSSL_NO_SSL_TRACE
|
||||
#endif
|
||||
|
||||
#ifdef OPENSSL_IS_BORINGSSL
|
||||
#define SSL_NO_GENERATE_CERTIFICATES
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user