CLEANUP: ssl: fix indentation in smp_fetch_ssl_fc_ec()

Fix indentation in smp_fetch_ssl_fc_ec() since it is using exclusively
spaces.

Could be backported if a fix depends on it.
This commit is contained in:
William Lallemand 2024-01-09 11:42:51 +01:00
parent 25da2174c6
commit 9a21b4b435

View File

@ -1335,11 +1335,11 @@ smp_fetch_ssl_fc_ec(const struct arg *args, struct sample *smp, const char *kw,
* OpenSSL v3.2 onwards. For OpenSSL >=3.0 and <3.2, we will continue to use
* SSL_get_negotiated_group to get the curve name.
*/
#if (HA_OPENSSL_VERSION_NUMBER >= 0x3020000fL)
# if (HA_OPENSSL_VERSION_NUMBER >= 0x3020000fL)
curve_name = (char *)SSL_get0_group_name(ssl);
if (curve_name == NULL)
if (curve_name == NULL) {
return 0;
else {
} else {
/**
* The curve name returned by SSL_get0_group_name is in lowercase whereas the curve
* name returned when we use `SSL_get_negotiated_group` and `OBJ_nid2sn` is the