]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: ssl: fix wrong #else commentary
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 18 Nov 2021 14:25:16 +0000 (15:25 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 18 Nov 2021 14:38:42 +0000 (15:38 +0100)
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.

src/ssl_sock.c

index d53a3873f36b8e8bf0a0538c9c16677c0e19ac98..bc515cc136488119720356a57239c9887e3c18ba 100644 (file)
@@ -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