summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Lallemand <wlallemand@haproxy.org>2021-11-18 15:25:16 +0100
committerWilliam Lallemand <wlallemand@haproxy.org>2021-11-18 15:38:42 +0100
commit002e2068cc3429ba259ffc20b4ef77d774a065df (patch)
tree7293fd38a3a50afa07e821902aac6c0ca0655451
parent10eed8ed039891ea71a0e8a87d9bfd47eb5dff94 (diff)
downloadhaproxy-002e2068cc3429ba259ffc20b4ef77d774a065df.tar.gz
CLEANUP: ssl: fix wrong #else commentary
The else is not for boringSSL but for the lack of Client Hello callback. Should have been changed in 1fc44d4 ("BUILD: ssl: guard Client Hello callbacks with HAVE_SSL_CLIENT_HELLO_CB macro instead of openssl version"). Could be backported in 2.4.
-rw-r--r--src/ssl_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index d53a3873f..bc515cc13 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -2700,7 +2700,7 @@ allow_early:
#endif
}
-#else /* OPENSSL_IS_BORINGSSL */
+#else /* ! HAVE_SSL_CLIENT_HELLO_CB */
/* Sets the SSL ctx of <ssl> to match the advertised server name. Returns a
* warning when no match is found, which implies the default (first) cert