Skip to content

Commit c9dfee4

Browse files
chipitsinewlallemand
authored andcommitted
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 [wla: SSL_CTRL_GET_RAW_CIPHERLIST was introduced by OpenSSL commit 94a209 along with SSL_CIPHER_find. It was removed in boringSSL.] Signed-off-by: William Lallemand <[email protected]>
1 parent b706a3b commit c9dfee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ssl_sample.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ static int smp_fetch_ssl_x_keylog(const struct arg *args, struct sample *smp, co
12491249
static int
12501250
smp_fetch_ssl_fc_cl_str(const struct arg *args, struct sample *smp, const char *kw, void *private)
12511251
{
1252-
#if (HA_OPENSSL_VERSION_NUMBER >= 0x1000200fL)
1252+
#if defined(OPENSSL_IS_BORINGSSL) || defined(SSL_CTRL_GET_RAW_CIPHERLIST)
12531253
struct buffer *data;
12541254
int i;
12551255

0 commit comments

Comments
 (0)