BUG/MINOR: ssl-samples: Fix ssl_bc_* samples when called from a health-check
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 Apr 2021 13:49:41 +0000 (15:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Apr 2021 06:31:05 +0000 (08:31 +0200)
commit4bef8d1d46ba596f1cc1595a63a01b6d9ae0f6cc
tree32a10f55080bbc653acbe4bfca21f1cf8b1934c6
parent242f8ce060e4d77da16ae43a58598a28b556ee5b
BUG/MINOR: ssl-samples: Fix ssl_bc_* samples when called from a health-check

For all ssl_bc_* sample fetches, the test on the keyword when called from a
health-check is inverted. We must be sure the 5th charater is a 'b' to
retrieve a connection.

This patch must be backported as far as 2.2.
src/ssl_sample.c