hi, let us use SSL_CTRL_GET_RAW_CIPHERLIST instead of versions.
cheers, Ilya
From bdc70715eab6e1b036c31a8a49c6e3b6ae6407e7 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin <[email protected]> Date: Sat, 31 Oct 2020 02:10:02 +0500 Subject: [PATCH] BUILD: ssl: use SSL_CTRL_GET_RAW_CIPHERLIST instead of OpenSSL versions let us use SSL_CTRL_GET_RAW_CIPHERLIST for feature detection instead of versions --- src/ssl_sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_sample.c b/src/ssl_sample.c index fe45ce9f9..46f5450b6 100644 --- a/src/ssl_sample.c +++ b/src/ssl_sample.c @@ -1249,7 +1249,7 @@ static int smp_fetch_ssl_x_keylog(const struct arg *args, struct sample *smp, co static int smp_fetch_ssl_fc_cl_str(const struct arg *args, struct sample *smp, const char *kw, void *private) { -#if (HA_OPENSSL_VERSION_NUMBER >= 0x1000200fL) +#if defined(OPENSSL_IS_BORINGSSL) || defined(SSL_CTRL_GET_RAW_CIPHERLIST) struct buffer *data; int i; -- 2.26.2

